diff options
author | das <das> | 2006-11-03 03:06:21 (GMT) |
---|---|---|
committer | das <das> | 2006-11-03 03:06:21 (GMT) |
commit | 2a50db774604d51272befbfc456c67af2dfd743e (patch) | |
tree | ddde20bc872b7fac3e8a946a67418e60dcc23428 /win/ttkWinXPTheme.c | |
parent | fac418a1e96d806e8d8cfc27bf24fd6f6e75d7fe (diff) | |
download | tk-2a50db774604d51272befbfc456c67af2dfd743e.zip tk-2a50db774604d51272befbfc456c67af2dfd743e.tar.gz tk-2a50db774604d51272befbfc456c67af2dfd743e.tar.bz2 |
* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:
* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h:
* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c:
* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
* generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c:
* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure
all global Ttk symbols have Ttk or ttk prefix; declare all externally
visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as
static when possible); so that 'make check{exports,stubs}' once again
complete without errors.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index 107aa55..d8748c0 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1,5 +1,5 @@ /* - * $Id: ttkWinXPTheme.c,v 1.1 2006/10/31 01:42:28 hobbs Exp $ + * $Id: ttkWinXPTheme.c,v 1.2 2006/11/03 03:06:22 das Exp $ * * Tk theme engine which uses the Windows XP "Visual Styles" API * Adapted from Georgios Petasis' XP theme patch. @@ -535,7 +535,7 @@ static Ttk_ElementSpec GenericElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, GenericElementGeometry, GenericElementDraw }; @@ -574,7 +574,7 @@ static Ttk_ElementSpec ThumbElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, GenericElementGeometry, ThumbElementDraw }; @@ -606,7 +606,7 @@ static Ttk_ElementSpec PbarElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, PbarElementGeometry, GenericElementDraw }; @@ -647,7 +647,7 @@ static Ttk_ElementSpec TabElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, GenericElementGeometry, TabElementDraw }; @@ -687,7 +687,7 @@ static Ttk_ElementSpec TreeIndicatorElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, GenericElementGeometry, TreeIndicatorElementDraw }; @@ -933,7 +933,7 @@ static ElementInfo ElementInfoTable[] = { * +++ Initialization routine: */ -int XPTheme_Init(Tcl_Interp *interp, HWND hwnd) +MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { XPThemeData *themeData; XPThemeProcs *procs; @@ -976,7 +976,7 @@ int XPTheme_Init(Tcl_Interp *interp, HWND hwnd) Ttk_RegisterCleanup(interp, clientData, DestroyElementData); } - Ttk_RegisterElementSpec(themePtr, "Scale.trough", &NullElementSpec, 0); + Ttk_RegisterElementSpec(themePtr, "Scale.trough", &ttkNullElementSpec, 0); /* * Layouts: |