Commit Graph

150 Commits

Author SHA1 Message Date
rubidium 8f9157b648 (svn r18040) -Codechange: the size parameter (if it's that actually) isn't needed for the delete operator 2009-11-11 20:40:40 +00:00
rubidium cbeba59fc2 (svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed 2009-11-09 17:20:48 +00:00
rubidium 85a3dce45c (svn r18022) -Cleanup: remove some (now) unused button resize functions 2009-11-08 19:49:13 +00:00
alberth a2e6035f16 (svn r18013) -Codechange: Add possibility to change window size during ReInit(). 2009-11-08 15:22:04 +00:00
rubidium 618621e851 (svn r18003) -Cleanup: prune some unused functions from Window 2009-11-07 22:29:17 +00:00
rubidium 9d573be6d8 (svn r17959) -Cleanup: remove unused function 2009-11-02 20:12:47 +00:00
rubidium 86fd0c0bce (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 2009-10-31 14:53:19 +00:00
alberth 82e21df3a4 (svn r17915) -Codechange: Allow windows to compute their own initial position. 2009-10-31 11:34:43 +00:00
rubidium 3bc0a4ed3e (svn r17903) -Codechange: don't get a modifiable NWidget from a const Window 2009-10-30 07:51:33 +00:00
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
alberth f1e885e0d2 (svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large amount of space between text. 2009-10-18 13:59:25 +00:00
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium 0032405093 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 2009-09-30 21:00:35 +00:00
alberth 89df436f84 (svn r17578) -Fix (r17572): Some compilers don't like default function template arguments. 2009-09-19 14:41:43 +00:00
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
alberth afe190a216 (svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often used. 2009-09-11 19:12:05 +00:00
alberth e1ae20a307 (svn r17503) -Fix (r17502): Save all files before commit. 2009-09-11 18:54:33 +00:00
rubidium d81a3ba2da (svn r17399) -Fix (r17365): if scrollbar has more capacity than elements clicking on the "scroll down" button asserted (esminis) 2009-09-03 09:07:14 +00:00
rubidium 5cb22df0f5 (svn r17375) -Codechange: remove last direct usage of scrollbar variables 2009-09-02 08:58:20 +00:00
rubidium 900aedf270 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 2009-09-02 08:48:29 +00:00
rubidium 59ac4f6b21 (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 2009-09-02 08:08:30 +00:00
rubidium e69e3378b0 (svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers 2009-09-02 07:17:15 +00:00
rubidium 4b9b858127 (svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers 2009-09-02 07:01:25 +00:00
rubidium b06e026f97 (svn r17365) -Codechange: introduce wrapper functions to update the position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window 2009-09-02 06:34:40 +00:00
Yexo fe7ca1b3e3 (svn r17324) -Codechange: Land info window uses nested widget tree 2009-08-30 17:07:53 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth e6a1da11a3 (svn r17175) -Codechange: Only auto-raise push buttons. 2009-08-14 21:27:08 +00:00
alberth 4eb155ccfb (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00
alberth 6a1af7f74f (svn r17024) -Codechange: Allow InitNested to be done in two parts. 2009-08-01 15:49:18 +00:00
alberth b129184d57 (svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height. 2009-07-31 22:08:19 +00:00
alberth 9856cc9d0a (svn r16963) -Codechange: Added NWidgetViewport widget. 2009-07-26 17:29:01 +00:00
alberth 75ccf9de3a (svn r16960) -Doc: Added some viewport and vehicle type doxygen strings. 2009-07-26 12:49:26 +00:00
alberth e3033ee895 (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 2009-07-25 11:54:53 +00:00
alberth 8083d67780 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 2009-07-21 22:25:21 +00:00
alberth 03abe67e88 (svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase. 2009-07-20 19:44:28 +00:00
alberth 1978c7dc87 (svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used. 2009-07-20 18:39:38 +00:00
alberth 36576371c0 (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 2009-07-18 10:46:55 +00:00
alberth 9be387761c (svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize. 2009-07-15 22:51:37 +00:00
alberth f1303f1ae8 (svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window. 2009-07-14 21:25:32 +00:00
alberth 9efd32d13c (svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations. 2009-07-12 12:19:41 +00:00
yexo 024a2eeed5 (svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button 2009-07-10 20:48:08 +00:00
alberth 7f851505f9 (svn r16778) -Codechange: Split window initialization in a data part and a size/position part. 2009-07-09 19:52:47 +00:00
alberth d65c6cae54 (svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows. 2009-07-04 15:35:36 +00:00
alberth 3c50a66ced (svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant. 2009-07-02 21:18:22 +00:00
alberth baab325b54 (svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows. 2009-06-28 22:23:26 +00:00
alberth 058bb5d6c3 (svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change. 2009-06-28 20:09:40 +00:00
alberth 8fba82c99b (svn r16684) -Codechange: Add maxdim function for Dimension struct. 2009-06-28 15:16:57 +00:00
alberth 19ccf6912c (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 2009-06-04 14:34:38 +00:00
alberth b144a5451c (svn r16516) -Codechange: Added click and drag handling for nested widgets. 2009-06-04 14:07:05 +00:00