(svn r1121) -Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)
-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
This commit is contained in:
@@ -48,8 +48,8 @@ enum Sprites {
|
||||
|
||||
SPR_BLOT = SPR_OPENTTD_BASE + 32, // colored circle (mainly used as vehicle profit marker and for sever compatibility)
|
||||
|
||||
SPR_PIN_UP = SPR_OPENTTD_BASE + 62, // pin icon
|
||||
SPR_PIN_DOWN = SPR_OPENTTD_BASE + 63,
|
||||
SPR_PIN_UP = SPR_OPENTTD_BASE + 62, // pin icon
|
||||
SPR_PIN_DOWN = SPR_OPENTTD_BASE + 63,
|
||||
|
||||
|
||||
/* Network GUI sprites */
|
||||
|
||||
Reference in New Issue
Block a user