(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user