rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
ac83f92fdc
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
14 years ago
frosch
4817d5dcd6
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
rubidium
d11de00a15
(svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white.
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
frosch
ca5acaa616
(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
14 years ago
frosch
ea4bb0bec0
(svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize().
14 years ago
frosch
d10c265d75
(svn r20169) -Codechange: Replace ShowGroupActionDropdown() with BaseVehicleListWindow::BuildActionDropdownList().
14 years ago
alberth
fd4d221647
(svn r19878) -Fix [FX#3851]: Default vehicle group texts were drawn one pixel too low (sbr).
15 years ago
rubidium
6003b9f211
(svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr)
15 years ago
alberth
e3b24801e2
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
rubidium
d507788d37
(svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++.
15 years ago
rubidium
1c468db7d5
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
smatz
1ebc871ebf
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
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
rubidium
26b203e3ff
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
alberth
0e9dac92d2
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
8c11679381
(svn r18342) -Fix: erroneous spaces before ;
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
ab417c6c06
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
15 years ago
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
d4d7347157
(svn r18237) -Codechange: make the group GUI big font aware
15 years ago
rubidium
6f82d2b53b
(svn r18236) -Codechange: make the group gui behave 'better aligned'
15 years ago
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
c227abd7c3
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
f106bbbe5c
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
rubidium
ef4e936acb
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
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
ab85bb7080
(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list
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
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
alberth
d2095a15e8
(svn r18066) -Codechange: Make group gui window use pure nested widgets.
15 years ago
alberth
33386b5a9c
(svn r18059) -Codechange: Move some variable declarations to their use.
15 years ago
alberth
125ca20d45
(svn r17865) -Codechange: Remove references to specific widgets and step-heights from BaseVehicleListWindow::DrawVehicleListItems().
15 years ago
rubidium
c1365b3cc1
(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.
15 years ago
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
e80d296638
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
15 years ago
smatz
1c6a2d72e2
(svn r17281) -Feature(tte): open the 'Rename group' dialog after creating new group
15 years ago
smatz
bdb0ba3feb
(svn r17275) -Codechange: remember group ID we are renaming, don't rename currently selected group
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago