Commit Graph

264 Commits (85ac1eb4d79a9ae40b79d41229406ff79794d586)

Author SHA1 Message Date
frosch dccab5b43f (svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before. 14 years ago
frosch efdc25bb73 (svn r19731) -Add: Spritepicker to sprite alignment tool. 14 years ago
rubidium b32665ebd0 (svn r19706) -Add: support for the (NewGRF) debug box 14 years ago
rubidium 8a4bfe10cb (svn r19563) -Fix [FS#3733] (r19558): OnResize wasn't called often enough so scrollbars were in some cases not properly updated causing division by zero 14 years ago
alberth 7f9a771a8b (svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window. 14 years ago
rubidium 59e767b1bf (svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash 15 years ago
rubidium 970842e4a2 (svn r19089) -Codechange: some minor coding style 15 years ago
rubidium d966b3655f (svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds. 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
peter1138 dec341a963 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
frosch 64feefa80e (svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast. 15 years ago
rubidium d1d6e8fc20 (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 15 years ago
rubidium af5bd27c73 (svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game 15 years ago
alberth 8e802135d8 (svn r18607) -Fix (r18583): Preserve window width when shading. 15 years ago
alberth e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
alberth 40ab9eeeba (svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box. 15 years ago
alberth 45a8eb682e (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 15 years ago
rubidium 97a6adf9f3 (svn r18582) -Codechange: save 8 bytes from the Window class 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth 05c30d294e (svn r18579) -Codechange: Add orientation to scrollbars. 15 years ago
alberth 57ea707cc4 (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 15 years ago
alberth acf091da8e (svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking. 15 years ago
alberth 30e834860a (svn r18334) -Codechange: No need to test a pointer after using it. 15 years ago
rubidium 55897be79b (svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp. 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
rubidium 0b31433eea (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 15 years ago
rubidium 46f90bef77 (svn r18273) -Codechange: do not require widget numbers for default widgets (close, sticky, resize buttons and the caption), except when you want to use SetStringParameter for the caption ofcourse. Also remove the requirement for some of the WDF flags; no need to test for both the flag whether a feature is used and whether the feature is in action. 15 years ago
rubidium 13371fa629 (svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too 15 years ago
alberth 75e513d5b5 (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 266a1d0f7d (svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL 15 years ago
rubidium 684e63e2b5 (svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware 15 years ago
rubidium c63b6887ef (svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window 15 years ago
rubidium f3043f2006 (svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code 15 years ago
rubidium 23f0385d65 (svn r18095) -Fix (r18093): a bit too much nested_array != NULL removal 15 years ago
rubidium f20d3a55ec (svn r18093) -Fix: the mouseover handler could crash if there wasn't a widget under the mouse 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
alberth 452946cdad (svn r18090) -Fix: Only allow raising of WWT_* nested widgets. 15 years ago
rubidium c162fa0575 (svn r18088) -Codechange: remove CompareWidgetArrays 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth df877e480d (svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards. 15 years ago
rubidium b3394dbeb4 (svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging 15 years ago
alberth ade53126b4 (svn r18013) -Codechange: Add possibility to change window size during ReInit(). 15 years ago
rubidium 79a039b0df (svn r18003) -Cleanup: prune some unused functions from Window 15 years ago
alberth c7ca4691c4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 15 years ago
alberth 0fa6870eca (svn r17995) -Codechange: PreventHiding() is used in one file, make it static. 15 years ago
rubidium c4c56ea04d (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 15 years ago
rubidium 8742314bb8 (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 15 years ago