diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 918c3374a..45e0bad9f 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -181,6 +181,8 @@ struct WindowDesc : ZeroedMemoryAllocator { const NWidgetPart *nwid_parts; ///< Nested widget parts describing the window. int16 nwid_length; ///< Length of the #nwid_parts array. + bool pref_sticky; ///< Preferred stickyness. + static void LoadFromConfig(); static void SaveToConfig(); }; @@ -508,6 +510,8 @@ public: */ virtual void OnInit() { } + virtual void ApplyDefaults(); + /** * Compute the initial position of the window. * @param sm_width Smallest width of the window. |