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 /macosx/ttkMacOSXTheme.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 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index 186565f..7cd46ae 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -1,5 +1,5 @@ /* - * $Id: ttkMacOSXTheme.c,v 1.2 2006/10/31 13:56:58 das Exp $ + * $Id: ttkMacOSXTheme.c,v 1.3 2006/11/03 03:06:22 das Exp $ * * Tk theme engine for Mac OSX, using the Appearance Manager API. * @@ -189,7 +189,7 @@ static Ttk_ElementSpec ButtonElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, ButtonElementGeometry, ButtonElementDraw }; @@ -242,7 +242,7 @@ static Ttk_ElementSpec TabElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, TabElementGeometry, TabElementDraw }; @@ -272,7 +272,7 @@ static Ttk_ElementSpec PaneElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, PaneElementGeometry, PaneElementDraw }; @@ -308,7 +308,7 @@ static Ttk_ElementSpec GroupElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, GroupElementGeometry, GroupElementDraw }; @@ -425,7 +425,7 @@ static Ttk_ElementSpec PopupArrowElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, PopupArrowElementGeometry, PopupArrowElementDraw }; @@ -549,9 +549,9 @@ static void SliderElementGeometry( static Ttk_ElementSpec SliderElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, SliderElementGeometry, - NullElementDraw + TtkNullElementDraw }; /*---------------------------------------------------------------------- @@ -670,7 +670,7 @@ static Ttk_ElementSpec SeparatorElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, SeparatorElementSize, SeparatorElementDraw }; @@ -716,7 +716,7 @@ static Ttk_ElementSpec SizegripElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, SizegripElementSize, SizegripElementDraw }; @@ -781,8 +781,8 @@ static Ttk_ElementSpec BackgroundElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, - NullElementGeometry, + TtkNullElementOptions, + TtkNullElementGeometry, BackgroundElementDraw }; @@ -823,8 +823,8 @@ static Ttk_ElementSpec ToolbarBackgroundElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, - NullElementGeometry, + TtkNullElementOptions, + TtkNullElementGeometry, ToolbarBackgroundElementDraw }; @@ -861,7 +861,7 @@ static Ttk_ElementSpec TreeHeaderElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, ButtonElementGeometryNoPadding, TreeHeaderElementDraw }; @@ -920,7 +920,7 @@ TTK_END_LAYOUT * +++ Initialization. */ -int AquaTheme_Init(Tcl_Interp *interp) +static int AquaTheme_Init(Tcl_Interp *interp) { Ttk_Theme themePtr = Ttk_CreateTheme(interp, "aqua", NULL); @@ -988,7 +988,7 @@ int AquaTheme_Init(Tcl_Interp *interp) return TCL_OK; } -int Ttk_MacPlatformInit(Tcl_Interp *interp) +MODULE_SCOPE int Ttk_MacOSXPlatformInit(Tcl_Interp *interp) { return AquaTheme_Init(interp); } |