(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:
darkvater
2004-12-15 23:33:04 +00:00
parent 4610ab6275
commit 302893f0da
8 changed files with 44 additions and 17 deletions

View File

@@ -888,7 +888,7 @@ bool DoZoomInOutWindow(int how, Window *w)
break;
case WC_EXTRA_VIEW_PORT:
wt = FindWindowById(WC_EXTRA_VIEW_PORT, w->window_number);
button = 4;
button = 5;
break;
}