Commit Graph

176 Commits

Author SHA1 Message Date
rubidium 2a2884646c (svn r18257) -Fix: glitch when the news message is wider than the status bar 2009-11-23 16:23:42 +00:00
rubidium edc90be5b8 (svn r18252) -Fix: crash when news is shown when the end game window is opened (status bar goes missing for a while etc.) 2009-11-23 13:01:12 +00:00
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium 8204f226f1 (svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars 2009-11-22 11:24:30 +00:00
rubidium d913282e7a (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 2009-11-22 11:20:12 +00:00
rubidium e9b6e73333 (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 2009-11-22 11:10:17 +00:00
rubidium 64d65cc635 (svn r18187) -Codechange: make the advanced face selection, custom currency, difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget) 2009-11-19 17:57:27 +00:00
rubidium 4987d97810 (svn r18180) -Codechange: make the news history window RTL aware 2009-11-19 11:10:32 +00:00
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium 1c5a92ae98 (svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions 2009-11-16 17:15:42 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
rubidium 4a970202a9 (svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used 2009-11-02 10:15:48 +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
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 d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium c847f5c04e (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 2009-09-30 21:07:54 +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
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +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 5fd5ae125a (svn r17398) -Codechange: Fill normal news item window with widgets. 2009-09-02 20:59:30 +00:00
alberth 0f9da2d636 (svn r17397) -Codechange: Add new vehicle news window. 2009-09-02 20:55:55 +00:00
alberth c0b9a6a9bc (svn r17396) -Codechange: Add company news window. 2009-09-02 20:54:27 +00:00
alberth c518d8c0d9 (svn r17395) -Codechange: Fill thin window with widgets. 2009-09-02 20:52:58 +00:00
alberth 96617e804c (svn r17394) -Codechange: Add news flags for viewport settings. 2009-09-02 20:49:25 +00:00
alberth 92321eb204 (svn r17393) -Codechange: Fill small window with widgets. 2009-09-02 20:46:42 +00:00
alberth a536a15459 (svn r17392) -Codechange: Use 'default' for reacting on click. 2009-09-02 20:44:36 +00:00
alberth 3375627552 (svn r17390) -Codechange: Switch news item windows to nested widgets. 2009-09-02 20:39:40 +00:00
alberth 417ad163c0 (svn r17387) -Codechange: Add news-item window description to NewsSubtypeData. 2009-09-02 20:21:30 +00:00
alberth 284b92f3e9 (svn r17385) -Codechange: Removed some unneeded parentheses. 2009-09-02 19:57:22 +00:00
rubidium 7aeaa4f132 (svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers 2009-09-02 08:18:54 +00:00
rubidium b1d4594fa7 (svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster. 2009-09-01 12:28:46 +00:00
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
alberth f74b7d4ebd (svn r17265) -Codechange: Typo fix, small is with two l's 2009-08-22 19:06:02 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 7fb95e2c2b (svn r17228) -Codechange: some coding style fixes 2009-08-20 10:23:39 +00:00
alberth 4f1758b51a (svn r17204) -Codechange: Move viewport initialization into the constructor of the news item window. 2009-08-16 16:06:06 +00:00
alberth b03e758d25 (svn r17202) -Codechange: News item is already given as argument. 2009-08-16 09:20:25 +00:00
alberth 66e98469bb (svn r17200) -Codechange: Initialize NewsWindow::duration, add some documentation strings. 2009-08-16 08:59:56 +00:00
alberth 3409385e1d (svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode. 2009-08-16 07:31:36 +00:00
alberth dd6fcb08b6 (svn r17188) -Codechange: Use display mode names for naming window and widget descriptions. 2009-08-15 14:39:22 +00:00
alberth ff60a5605c (svn r17187) -Codechange: Make switches on news display mode complete. 2009-08-15 14:27:54 +00:00
alberth 13a37b427a (svn r17178) -Codechange (r17177): Remove now unused define. 2009-08-14 22:07:25 +00:00
alberth 200fcddc38 (svn r17177) -Codechange: Message options window uses nested widget tree. 2009-08-14 22:01:44 +00:00
alberth 3d38744b9f (svn r17176) -Codechange: Move widget state updating out of OnPaint method of message options window. 2009-08-14 21:33:30 +00:00
alberth fe74c526d8 (svn r17174) -Codechange: Switch to vertical alignment in the message options window. 2009-08-14 21:21:56 +00:00
alberth c4f055cc11 (svn r17172) -Codechange: Move the _message_opt variable into the MessageOptionsWindow struct. 2009-08-14 19:02:20 +00:00
alberth 4eb155ccfb (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00