diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-10-05 00:13:22 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-10-05 00:13:22 +0200 |
commit | 9d3f13b6891eafc4b12d62259ad0b6876952eccd (patch) | |
tree | d98686b55afa90146b63400d3c1fe1c890f608c1 /src/libui_sdl/libui/windows/tab.cpp | |
parent | 5b71ffceee18a38dc81bb95a4001cb22f878f300 (diff) |
rework things a bit.
also remove some useless variables.
Diffstat (limited to 'src/libui_sdl/libui/windows/tab.cpp')
-rw-r--r-- | src/libui_sdl/libui/windows/tab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/windows/tab.cpp b/src/libui_sdl/libui/windows/tab.cpp index ea6209b..93373b0 100644 --- a/src/libui_sdl/libui/windows/tab.cpp +++ b/src/libui_sdl/libui/windows/tab.cpp @@ -164,6 +164,12 @@ static void uiTabMinimumSizeChanged(uiWindowsControl *c) tabRelayout(t); } +static void uiTabSetMinSize(uiControl *c, int w, int h) +{ + // checkme + uiTabMinimumSizeChanged(uiWindowsControl(c)); +} + uiWindowsControlDefaultLayoutRect(uiTab) uiWindowsControlDefaultAssignControlIDZOrder(uiTab) |