diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:49:55 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:49:55 -0500 |
commit | 08dfb934381c0377115ca32c632c8e5ce176ea1a (patch) | |
tree | 84871f1aec8e4a4c24e9ee278ace843f2d2cfcb9 /common/common.h | |
parent | 9056265400bbf566b008032c872567016185f907 (diff) | |
download | tde-style-qtcurve-08dfb934381c0377115ca32c632c8e5ce176ea1a.tar.gz tde-style-qtcurve-08dfb934381c0377115ca32c632c8e5ce176ea1a.zip |
Fix inadvertent "TQ" changes.
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/common/common.h b/common/common.h index a5fb2fc..a9cafa9 100644 --- a/common/common.h +++ b/common/common.h @@ -394,15 +394,15 @@ enum #define RINGS_INNER_ALPHA(T) qtcRingAlpha[IMG_PLAIN_RINGS==(T) ? 1 : 0] //(IMG_PLAIN_RINGS==opts.bgndImage.type ? 0.25 : 0.125) #define RINGS_OUTER_ALPHA qtcRingAlpha[2] //0.5 -#define RINGS_WIDTH(T) (IMG_STQUARE_RINGS==T ? 260 : 450) -#define RINGS_HEIGHT(T) (IMG_STQUARE_RINGS==T ? 220 : 360) +#define RINGS_WIDTH(T) (IMG_SQUARE_RINGS==T ? 260 : 450) +#define RINGS_HEIGHT(T) (IMG_SQUARE_RINGS==T ? 220 : 360) -#define RINGS_STQUARE_LARGE_ALPHA (RINGS_OUTER_ALPHA*0.675) -#define RINGS_STQUARE_SMALL_ALPHA (RINGS_OUTER_ALPHA*0.50) -#define RINGS_STQUARE_LINE_WIDTH 20.0 -#define RINGS_STQUARE_RADIUS 18.0 -#define RINGS_STQUARE_LARGE_SIZE 120.0 -#define RINGS_STQUARE_SMALL_SIZE 100.0 +#define RINGS_SQUARE_LARGE_ALPHA (RINGS_OUTER_ALPHA*0.675) +#define RINGS_SQUARE_SMALL_ALPHA (RINGS_OUTER_ALPHA*0.50) +#define RINGS_SQUARE_LINE_WIDTH 20.0 +#define RINGS_SQUARE_RADIUS 18.0 +#define RINGS_SQUARE_LARGE_SIZE 120.0 +#define RINGS_SQUARE_SMALL_SIZE 100.0 #if !defined __cplusplus #define MENU_AND_TOOLTIP_RADIUS (opts.round>=ROUND_FULL ? 5.0 : 3.5) @@ -529,7 +529,7 @@ typedef enum IMG_NONE, IMG_BORDERED_RINGS, IMG_PLAIN_RINGS, - IMG_STQUARE_RINGS, + IMG_SQUARE_RINGS, IMG_FILE } EImageType; @@ -549,18 +549,18 @@ typedef struct typedef enum { - STQUARE_NONE = 0x0000, - STQUARE_ENTRY = 0x0001, - STQUARE_PROGRESS = 0x0002, - STQUARE_SCROLLVIEW = 0x0004, - STQUARE_LISTVIEW_SELECTION = 0x0008, - STQUARE_FRAME = 0x0010, - STQUARE_TAB_FRAME = 0x0020, - STQUARE_SLIDER = 0x0040, - STQUARE_SB_SLIDER = 0x0080, - STQUARE_WINDOWS = 0x0100, - STQUARE_TOOLTIPS = 0x0200, - STQUARE_POPUP_MENUS = 0x0400 + SQUARE_NONE = 0x0000, + SQUARE_ENTRY = 0x0001, + SQUARE_PROGRESS = 0x0002, + SQUARE_SCROLLVIEW = 0x0004, + SQUARE_LISTVIEW_SELECTION = 0x0008, + SQUARE_FRAME = 0x0010, + SQUARE_TAB_FRAME = 0x0020, + SQUARE_SLIDER = 0x0040, + SQUARE_SB_SLIDER = 0x0080, + SQUARE_WINDOWS = 0x0100, + SQUARE_TOOLTIPS = 0x0200, + SQUARE_POPUP_MENUS = 0x0400 } ESquare; typedef enum @@ -1819,8 +1819,8 @@ ERound getWidgetRound(const Options *opts, int w, int h, EWidget widget) { ERound r=opts->round; - if( ((WIDGET_PBAR_TROUGH==widget || WIDGET_PROGRESSBAR==widget) && (opts->square&STQUARE_PROGRESS)) || - (WIDGET_ENTRY==widget && (opts->square&STQUARE_ENTRY)) ) + if( ((WIDGET_PBAR_TROUGH==widget || WIDGET_PROGRESSBAR==widget) && (opts->square&SQUARE_PROGRESS)) || + (WIDGET_ENTRY==widget && (opts->square&SQUARE_ENTRY)) ) return ROUND_NONE; if((WIDGET_CHECKBOX==widget || WIDGET_FOCUS==widget) && ROUND_NONE!=r) @@ -1870,8 +1870,8 @@ static double getRadius(const Options *opts, int w, int h, EWidget widget, ERadi if((WIDGET_CHECKBOX==widget || WIDGET_FOCUS==widget) && ROUND_NONE!=r) r=ROUND_SLIGHT; - if( ((WIDGET_PBAR_TROUGH==widget || WIDGET_PROGRESSBAR==widget) && (opts->square&STQUARE_PROGRESS)) || - (WIDGET_ENTRY==widget && (opts->square&STQUARE_ENTRY)) ) + if( ((WIDGET_PBAR_TROUGH==widget || WIDGET_PROGRESSBAR==widget) && (opts->square&SQUARE_PROGRESS)) || + (WIDGET_ENTRY==widget && (opts->square&SQUARE_ENTRY)) ) return 0.0; #if defined __cplusplus && ( (0x039999 >= 0x040000)) |