summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorcsaba <csaba>2024-05-15 16:38:03 (GMT)
committercsaba <csaba>2024-05-15 16:38:03 (GMT)
commit1eac65ec5e44168c8d63a5c0f516f223915ff2b3 (patch)
treef5a3a22fd5815fd1ec0ccc9e652b8b043feb0534 /generic/tkInt.h
parent9297c10aa902107cf5098c964da2b6635ed67dce (diff)
parentd1b06d589cc039ff7f4bcf911333401f713991b4 (diff)
downloadtk-1eac65ec5e44168c8d63a5c0f516f223915ff2b3.zip
tk-1eac65ec5e44168c8d63a5c0f516f223915ff2b3.tar.gz
tk-1eac65ec5e44168c8d63a5c0f516f223915ff2b3.tar.bz2
Using the application's TkMainInfo struct for sharing the data of the trough's inner box in a thread-safe manner when drawing the ttk::scale widget of the "default" theme.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index bdfdcd7..a216b17 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -699,6 +699,8 @@ typedef struct TkMainInfo {
#endif
unsigned int ttkNbTabsStickBit;
/* Information used by ttk::notebook. */
+ int troughInnerX, troughInnerY, troughInnerWidth, troughInnerHeight;
+ /* Information used by ttk::scale. */
} TkMainInfo;
/*