summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-18 21:26:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-18 21:26:13 (GMT)
commit66a0dbc7e2885a26433295c940bf5235999f320c (patch)
treec796bfddb7ce8052949e0da8f8298817f69e5d7e /macosx
parentc16ce96c1ed92581e6b9fe85882c726bfd35e147 (diff)
parent33cef687c6a0dfcbfe12eb57949231fd9d206f4d (diff)
downloadtk-66a0dbc7e2885a26433295c940bf5235999f320c.zip
tk-66a0dbc7e2885a26433295c940bf5235999f320c.tar.gz
tk-66a0dbc7e2885a26433295c940bf5235999f320c.tar.bz2
Merge 8.7
Diffstat (limited to 'macosx')
-rw-r--r--macosx/ttkMacOSXTheme.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 7495741..9fbef79 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -209,7 +209,7 @@ static inline CGRect BoxToRect(
static GrayPalette LookupGrayPalette(
const ButtonDesign *design,
- unsigned int state,
+ Ttk_State state,
int isDark)
{
const PaletteStateTable *entry = design->palettes;
@@ -489,7 +489,7 @@ static void DrawGrayButton(
CGContextRef context,
CGRect bounds,
const ButtonDesign *design,
- unsigned int state,
+ Ttk_State state,
Tk_Window tkwin)
{
int isDark = TkMacOSXInDarkMode(tkwin);
@@ -583,7 +583,7 @@ static void DrawAccentedSegment(
CGContextRef context,
CGRect bounds,
const ButtonDesign *design,
- unsigned int state,
+ Ttk_State state,
Tk_Window tkwin)
{
/*
@@ -2936,7 +2936,7 @@ static void SeparatorElementDraw(
Tk_Window tkwin,
Drawable d,
Ttk_Box b,
- unsigned int state)
+ Ttk_State state)
{
CGRect bounds = BoxToRect(d, b);
const HIThemeSeparatorDrawInfo info = {
@@ -2999,7 +2999,7 @@ static void SizegripElementDraw(
TCL_UNUSED(Tk_Window), /* tkwin */
Drawable d,
Ttk_Box b,
- unsigned int state)
+ Ttk_State state)
{
CGRect bounds = BoxToRect(d, b);
HIThemeGrowBoxDrawInfo info = {
@@ -3104,7 +3104,7 @@ static void BackgroundElementDraw(
Tk_Window tkwin,
Drawable d,
TCL_UNUSED(Ttk_Box),
- unsigned int state)
+ Ttk_State state)
{
FillElementDraw(clientData, elementRecord, tkwin, d, Ttk_WinBox(tkwin),
state);