From 83981e40b594af221abf78eab41aa41182003b52 Mon Sep 17 00:00:00 2001 From: darkvater Date: Wed, 15 Dec 2004 23:33:04 +0000 Subject: (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. --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 3bc7349a5..97e516c05 100644 --- a/main_gui.c +++ b/main_gui.c @@ -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; } -- cgit v1.2.3-54-g00ecf