-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a GTK+ 2.x engine based on Bluecurve. It features a modern look without sacrificing (much) speed.
- Loading branch information
Michael Johnson
authored and
Michael Johnson
committed
Feb 27, 2005
1 parent
fe9d61e
commit 0fbbce2
Showing
9 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# New ports collection makefile for: clearlooks | ||
# Date created: 2005-02-26 | ||
# Whom: Michael Johnson <ahze@FreeBSD.org> | ||
# | ||
# $FreeBSD$ | ||
# | ||
|
||
PORTNAME= clearlooks | ||
PORTVERSION= 0.3 | ||
CATEGORIES= x11-themes | ||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} | ||
MASTER_SITE_SUBDIR= clearlooks | ||
|
||
MAINTAINER= ahze@FreeBSD.org | ||
COMMENT= GTK+ 2.x engine based on Bluecurve | ||
|
||
USE_BZIP2= yes | ||
USE_LIBTOOL_VER=15 | ||
USE_GNOME= gtk20 gnomehier | ||
USE_X_PREFIX= yes | ||
|
||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ | ||
LDFLAGS="-L${X11BASE}/lib" | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MD5 (clearlooks-0.3.tar.bz2) = 516402d838b965130bd1cb439c294313 | ||
SIZE (clearlooks-0.3.tar.bz2) = 250513 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- src/clearlooks_draw.c.orig Thu Feb 24 09:15:18 2005 | ||
+++ src/clearlooks_draw.c Sun Feb 27 01:51:30 2005 | ||
@@ -57,16 +57,16 @@ | ||
int x, int y, int width, int height, | ||
GdkColor *left_color, GdkColor *right_color) | ||
{ | ||
- if ( left_color == NULL || right_color == NULL ) | ||
- { | ||
- gdk_draw_rectangle (drawable, gc, TRUE, x, y, width, height); | ||
- return; | ||
- } | ||
|
||
int i; | ||
GdkColor col; | ||
int dr, dg, db; | ||
GdkGCValues old_values; | ||
+ if ( left_color == NULL || right_color == NULL ) | ||
+ { | ||
+ gdk_draw_rectangle (drawable, gc, TRUE, x, y, width, height); | ||
+ return; | ||
+ } | ||
|
||
gdk_gc_get_values (gc, &old_values); | ||
|
||
@@ -179,10 +179,10 @@ | ||
void cl_draw_borders (GdkWindow *window, GtkWidget *widget, GtkStyle *style, | ||
int x, int y, int width, int height, CLRectangle *r) | ||
{ | ||
+ int x1, y1, x2, y2, i; | ||
if (r->bordergc == NULL) | ||
return; | ||
|
||
- int x1, y1, x2, y2, i; | ||
for ( i=0; i<4; i++) // draw all four borders + corners | ||
{ | ||
cl_get_coords (i, x, y, width, height, r, &x1, &y1, &x2, &y2); | ||
@@ -261,9 +261,6 @@ | ||
int x, int y, int width, int height, | ||
CLRectangle *r, CLCornerSide corner) | ||
{ | ||
- if (r->corners[corner] == CL_CORNER_NONE) | ||
- return; | ||
- | ||
GdkColor *color; | ||
GdkColor aacolor; // anti-aliasing color | ||
GdkGCValues values; | ||
@@ -271,6 +268,9 @@ | ||
|
||
int x1; | ||
int y1; | ||
+ | ||
+ if (r->corners[corner] == CL_CORNER_NONE) | ||
+ return; | ||
|
||
color = cl_get_gradient_corner_color (r, corner); | ||
gdk_gc_get_values (r->bordergc, &values); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- src/clearlooks_style.c.orig Sun Feb 27 01:45:14 2005 | ||
+++ src/clearlooks_style.c Sun Feb 27 01:46:52 2005 | ||
@@ -487,14 +487,14 @@ | ||
|
||
if (DETAIL ("tab")) | ||
{ | ||
+ GdkColor tmp_color; | ||
GdkRectangle new_area; | ||
|
||
cl_rectangle_set_button (&r, style, state_type, FALSE, | ||
CL_CORNER_ROUND, CL_CORNER_ROUND, | ||
CL_CORNER_ROUND, CL_CORNER_ROUND); | ||
- | ||
- GdkColor tmp_color; | ||
|
||
+ | ||
if (state_type == GTK_STATE_ACTIVE) | ||
shade (&style->bg[state_type], &tmp_color, 1.08); | ||
else | ||
@@ -754,6 +754,7 @@ | ||
if (widget && DETAIL ("button") && widget->parent && | ||
(GTK_IS_TREE_VIEW(widget->parent) || GTK_IS_CLIST (widget->parent))) // headers | ||
{ | ||
+ int nwidth; | ||
gint columns = 0, column_index = 0; | ||
|
||
if ( width < 2 || height < 2 ) | ||
@@ -762,7 +763,7 @@ | ||
if (GTK_IS_TREE_VIEW (widget->parent)) | ||
gtk_treeview_get_header_index (widget->parent, widget, &column_index, &columns); | ||
|
||
- int nwidth = (column_index == columns-1) ? width : width+1; | ||
+ nwidth = (column_index == columns-1) ? width : width+1; | ||
|
||
cl_rectangle_set_button (&r, style, state_type, FALSE, | ||
CL_CORNER_NONE, CL_CORNER_NONE, | ||
@@ -1074,6 +1075,7 @@ | ||
} | ||
else if (DETAIL ("menuitem")) | ||
{ | ||
+ int corner; | ||
gboolean menubar = (widget->parent && GTK_IS_MENU_BAR(widget->parent)) ? TRUE : FALSE; | ||
gboolean flatmenu = FALSE; | ||
|
||
@@ -1081,7 +1083,7 @@ | ||
|
||
shade (clearlooks_get_spot_color (CLEARLOOKS_RC_STYLE (style->rc_style)), &inner_lower, 1.3); | ||
|
||
- int corner = CL_CORNER_NARROW; | ||
+ corner = CL_CORNER_NARROW; | ||
|
||
if (menubar) | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- src/support.c.orig Sat Feb 19 06:50:22 2005 | ||
+++ src/support.c Sun Feb 27 01:44:57 2005 | ||
@@ -503,8 +503,9 @@ | ||
static void gtk_treeview_get_header_index (GtkWidget *tv, GtkWidget *header, | ||
gint *column_index, gint *columns) | ||
{ | ||
+ GList *list; | ||
*column_index = *columns = 0; | ||
- GList *list = gtk_tree_view_get_columns (GTK_TREE_VIEW (tv)); | ||
+ list = gtk_tree_view_get_columns (GTK_TREE_VIEW (tv)); | ||
|
||
do | ||
{ |
11 changes: 11 additions & 0 deletions
11
x11-themes/clearlooks/files/patch-themes_Clearlooks_metacity-1_Makefile.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- themes/Clearlooks/metacity-1/Makefile.in.orig Thu Feb 24 14:17:48 2005 | ||
+++ themes/Clearlooks/metacity-1/Makefile.in Sun Feb 27 03:36:18 2005 | ||
@@ -171,7 +171,7 @@ | ||
target_alias = @target_alias@ | ||
gnome_data = @gnome_prefix@/share | ||
dummy = | ||
-themedir = $(gnome_data)/themes/Clearlooks/metacity-1 | ||
+themedir = @prefix@/share/gnome/themes/Clearlooks/metacity-1 | ||
theme_DATA = metacity-theme-1.xml | ||
EXTRA_DIST = metacity-theme-1.xml | ||
all: all-am |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This is a GTK+ 2.x engine based on Bluecurve. It features a modern look | ||
without sacrificing (much) speed. | ||
|
||
WWW: http://sourceforge.net/projects/clearlooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
lib/gtk-2.0/2.4.0/engines/libclearlooks.so | ||
share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc | ||
share/themes/Clearlooks-Olive/gtk-2.0/gtkrc | ||
share/themes/Clearlooks/gtk-2.0/gtkrc | ||
share/themes/Clearlooks/index.theme | ||
share/gnome/themes/Clearlooks/metacity-1/metacity-theme-1.xml | ||
@dirrm share/gnome/themes/Clearlooks/metacity-1 | ||
@dirrm share/gnome/themes/Clearlooks | ||
@dirrm share/themes/Clearlooks/gtk-2.0 | ||
@dirrm share/themes/Clearlooks-Olive/gtk-2.0 | ||
@dirrm share/themes/Clearlooks-Olive | ||
@dirrm share/themes/Clearlooks-DeepSky/gtk-2.0 | ||
@dirrm share/themes/Clearlooks-DeepSky | ||
@dirrm share/themes/Clearlooks |