diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-12-19 15:55:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-12-19 15:55:02 (GMT) |
commit | 07df34a71ce989818cdf7a36ce16982846d4ffb9 (patch) | |
tree | 4500ca9fff53d0241d1b4f6bf041cca275955c05 /generic/ttk | |
parent | e183b73cc9c2139ace9673ce5d83b15f80abff4e (diff) | |
download | tk-07df34a71ce989818cdf7a36ce16982846d4ffb9.zip tk-07df34a71ce989818cdf7a36ce16982846d4ffb9.tar.gz tk-07df34a71ce989818cdf7a36ce16982846d4ffb9.tar.bz2 |
Provide variable-names in comments
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkClamTheme.c | 8 | ||||
-rw-r--r-- | generic/ttk/ttkClassicTheme.c | 8 | ||||
-rw-r--r-- | generic/ttk/ttkDefaultTheme.c | 8 | ||||
-rw-r--r-- | generic/ttk/ttkElements.c | 32 | ||||
-rw-r--r-- | generic/ttk/ttkFrame.c | 8 |
5 files changed, 32 insertions, 32 deletions
diff --git a/generic/ttk/ttkClamTheme.c b/generic/ttk/ttkClamTheme.c index 624dc65..e541001 100644 --- a/generic/ttk/ttkClamTheme.c +++ b/generic/ttk/ttkClamTheme.c @@ -976,8 +976,8 @@ static void TabElementSize( TCL_UNUSED(void *), /* clientData */ TCL_UNUSED(void *), /* elementRecord */ Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { Ttk_PositionSpec nbTabsStickBit = TTK_STICK_S; @@ -1137,8 +1137,8 @@ static void ClientElementSize( TCL_UNUSED(void *), /* clientData */ TCL_UNUSED(void *), /* elementRecord */ TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { int borderWidth = 2; diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c index 9a4b509..1caa475 100644 --- a/generic/ttk/ttkClassicTheme.c +++ b/generic/ttk/ttkClassicTheme.c @@ -33,8 +33,8 @@ static void HighlightElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { HighlightElement *hl = (HighlightElement *)elementRecord; @@ -106,8 +106,8 @@ static void ButtonBorderElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { ButtonBorderElement *bd = (ButtonBorderElement *)elementRecord; diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c index fb07b06..189a3e3 100644 --- a/generic/ttk/ttkDefaultTheme.c +++ b/generic/ttk/ttkDefaultTheme.c @@ -260,8 +260,8 @@ static void BorderElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { BorderElement *bd = (BorderElement *)elementRecord; @@ -348,8 +348,8 @@ static void FieldElementSize( TCL_UNUSED(void *), /* clientData */ TCL_UNUSED(void *), /* elementRecord */ TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { *paddingPtr = Ttk_UniformPadding(2); diff --git a/generic/ttk/ttkElements.c b/generic/ttk/ttkElements.c index d55c07f..24be5e7 100644 --- a/generic/ttk/ttkElements.c +++ b/generic/ttk/ttkElements.c @@ -32,8 +32,8 @@ TtkNullElementSize( TCL_UNUSED(void *), /* clientData */ TCL_UNUSED(void *), /* elementRecord */ TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ TCL_UNUSED(Ttk_Padding *)) { } @@ -143,8 +143,8 @@ static void BorderElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { BorderElement *bd = (BorderElement *)elementRecord; @@ -212,8 +212,8 @@ static void FieldElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { FieldElement *field = (FieldElement *)elementRecord; @@ -329,8 +329,8 @@ static void PaddingElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { PaddingElement *padding = (PaddingElement *)elementRecord; @@ -397,8 +397,8 @@ static void FocusElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, TCL_UNUSED(Tk_Window), - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { FocusElement *focus = (FocusElement *)elementRecord; @@ -1185,8 +1185,8 @@ static void TroughElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { TroughElement *troughPtr = (TroughElement *)elementRecord; @@ -1619,8 +1619,8 @@ static const Ttk_ElementOptionSpec TabElementOptions[] = { static void TabElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { TabElement *tab = (TabElement *)elementRecord; @@ -1824,8 +1824,8 @@ typedef TabElement ClientElement; static void ClientElementSize( TCL_UNUSED(void *), /* clientData */ void *elementRecord, Tk_Window tkwin, - TCL_UNUSED(int *), - TCL_UNUSED(int *), + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *), /* heightPtr */ Ttk_Padding *paddingPtr) { ClientElement *ce = (ClientElement *)elementRecord; diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c index 0032f79..787d494 100644 --- a/generic/ttk/ttkFrame.c +++ b/generic/ttk/ttkFrame.c @@ -91,8 +91,8 @@ static Ttk_Padding FrameMargins(Frame *framePtr) */ static int FrameSize( void *recordPtr, - TCL_UNUSED(int *), - TCL_UNUSED(int *)) + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *)) /* heightPtr */ { Frame *framePtr = (Frame *)recordPtr; Ttk_SetMargins(framePtr->core.tkwin, FrameMargins(framePtr)); @@ -343,8 +343,8 @@ LabelframeLabelSize(Labelframe *lframePtr, int *widthPtr, int *heightPtr) */ static int LabelframeSize( void *recordPtr, - TCL_UNUSED(int *), - TCL_UNUSED(int *)) + TCL_UNUSED(int *), /* widthPtr */ + TCL_UNUSED(int *)) /* heightPtr */ { Labelframe *lframePtr = (Labelframe *)recordPtr; WidgetCore *corePtr = &lframePtr->core; |