summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkThemeInt.h
diff options
context:
space:
mode:
authordas <das>2006-11-03 03:06:21 (GMT)
committerdas <das>2006-11-03 03:06:21 (GMT)
commit6a21e72df71f06d61c44e3de34afe26973732214 (patch)
treeddde20bc872b7fac3e8a946a67418e60dcc23428 /generic/ttk/ttkThemeInt.h
parent576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3 (diff)
downloadtk-6a21e72df71f06d61c44e3de34afe26973732214.zip
tk-6a21e72df71f06d61c44e3de34afe26973732214.tar.gz
tk-6a21e72df71f06d61c44e3de34afe26973732214.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 'generic/ttk/ttkThemeInt.h')
-rw-r--r--generic/ttk/ttkThemeInt.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/generic/ttk/ttkThemeInt.h b/generic/ttk/ttkThemeInt.h
index 065dd44..9915714 100644
--- a/generic/ttk/ttkThemeInt.h
+++ b/generic/ttk/ttkThemeInt.h
@@ -1,43 +1,42 @@
/*
- * $Id: ttkThemeInt.h,v 1.1 2006/10/31 01:42:26 hobbs Exp $
+ * $Id: ttkThemeInt.h,v 1.2 2006/11/03 03:06:22 das Exp $
*
* Theme engine: private definitions.
*
* Copyright (c) 2004 Joe English. Freely redistributable.
*/
-#ifndef TKTHEMEINT_INCLUDED
-#define TKTHEMEINT_INCLUDED 1
+#ifndef _TTKTHEMEINT
+#define _TTKTHEMEINT
#include "ttkTheme.h"
typedef struct Ttk_Style_ *Ttk_Style;
typedef struct Ttk_TemplateNode_ Ttk_TemplateNode, *Ttk_LayoutTemplate;
-extern Ttk_Element Ttk_GetElement(Ttk_Theme theme, const char *name);
-extern const char *Ttk_ElementName(Ttk_Element);
+MODULE_SCOPE Ttk_Element Ttk_GetElement(Ttk_Theme theme, const char *name);
+MODULE_SCOPE const char *Ttk_ElementName(Ttk_Element);
-extern void Ttk_ElementSize(
+MODULE_SCOPE void Ttk_ElementSize(
Ttk_Element element, Ttk_Style, char *recordPtr, Tk_OptionTable,
Tk_Window tkwin, Ttk_State state,
int *widthPtr, int *heightPtr, Ttk_Padding*);
-extern void Ttk_DrawElement(
+MODULE_SCOPE void Ttk_DrawElement(
Ttk_Element element, Ttk_Style, char *recordPtr, Tk_OptionTable,
Tk_Window tkwin, Drawable d, Ttk_Box b, Ttk_State state);
-extern Tcl_Obj *Ttk_QueryStyle(
+MODULE_SCOPE Tcl_Obj *Ttk_QueryStyle(
Ttk_Style, void *, Tk_OptionTable, const char *, Ttk_State state);
-extern Ttk_LayoutTemplate Ttk_ParseLayoutTemplate(Tcl_Interp *, Tcl_Obj *);
-extern Tcl_Obj *Ttk_UnparseLayoutTemplate(Ttk_LayoutTemplate);
-extern Ttk_LayoutTemplate Ttk_BuildLayoutTemplate(Ttk_LayoutSpec);
-extern void Ttk_FreeLayoutTemplate(Ttk_LayoutTemplate);
+MODULE_SCOPE Ttk_LayoutTemplate Ttk_ParseLayoutTemplate(Tcl_Interp *, Tcl_Obj *);
+MODULE_SCOPE Tcl_Obj *Ttk_UnparseLayoutTemplate(Ttk_LayoutTemplate);
+MODULE_SCOPE Ttk_LayoutTemplate Ttk_BuildLayoutTemplate(Ttk_LayoutSpec);
+MODULE_SCOPE void Ttk_FreeLayoutTemplate(Ttk_LayoutTemplate);
-extern Ttk_Style Ttk_GetStyle(Ttk_Theme themePtr, const char *styleName);
-extern Ttk_LayoutTemplate Ttk_FindLayoutTemplate(
+MODULE_SCOPE Ttk_Style Ttk_GetStyle(Ttk_Theme themePtr, const char *styleName);
+MODULE_SCOPE Ttk_LayoutTemplate Ttk_FindLayoutTemplate(
Ttk_Theme themePtr, const char *layoutName);
-extern const char *Ttk_StyleName(Ttk_Style);
+MODULE_SCOPE const char *Ttk_StyleName(Ttk_Style);
-
-#endif /* TKTHEMEINT_INCLUDED */
+#endif /* _TTKTHEMEINT */