summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
AgeCommit message (Collapse)Author
2008-08-02(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 ↵belugas
assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-03(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks ↵belugas
like enums can not be easily matched :(
2008-07-01(svn r13670) -Codechange : Merge some very alike events handlers.belugas
2008-06-30(svn r13663) -Codechange: Use a default parameter, hoping to reduce the ↵belugas
different signatures of functions in menus
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-27(svn r13646) -Change: typos and miss-aligned enum valuesbelugas
2008-06-27(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to ↵belugas
not care, but some other compilers do. Thanks to glx :)
2008-06-27(svn r13643) -Codechange: Enumify some loosely related values been used in ↵belugas
the toolbar resizing processes
2008-06-26(svn r13642) -Documentation: Add the enum values to the widget arrays, in ↵belugas
concordance with code style
2008-06-26(svn r13641) -Fix: Misleading enum name.belugas
2008-06-25(svn r13628) -Feature: enable building of aqueducts in the scenario editorskidd13
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-21(svn r13597) -Codechange: Enumification of the Map menu items.belugas
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-20(svn r13590) -Codechange: Enumification of the Save/Load menu itemsbelugas
2008-06-19(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. ↵belugas
Makes it a bit clearer, don't you think?
2008-06-19(svn r13586) -Codechange: Using default parameter, for cases where there are ↵belugas
few exceptions.
2008-06-18(svn r13562) -Codechange: Yet another enumification, which required a bit of ↵belugas
explanation/documentation of a trickery some would call a hack
2008-06-18(svn r13561) -Codechange: two more enumifications of widgetsbelugas
2008-06-18(svn r13560) -Fix(r13550): This section widget_count did not required to be ↵belugas
lowered. So small revert
2008-06-17(svn r13559) -Codechange: Enumification of the Options menu itemsbelugas
2008-06-17(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value ↵belugas
as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
2008-06-17(svn r13543) -Codechange: Enumification of the InGame toolbar and some ↵belugas
leftovers of scenario editor one. Still more go do
2008-06-17(svn r13542) -Codechange: Less a few more magic numbers and a code a bit ↵belugas
more adaptable, still
2008-06-17(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.belugas
2008-06-17(svn r13540) -Codechange: Less a magic number and a more adaptable codebelugas
2008-06-16(svn r13536) -Codechange: Bit shifting is not really required when you know ↵belugas
exactly the value to use. Even more when it's a parameter.
2008-06-14(svn r13515) -Codechange: Widget enumification for scenario editorbelugas
2008-06-14(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)belugas
2008-06-13(svn r13504) -Codechange: enumify some widgets for scenario editor. More ↵belugas
work is required.
2008-06-13(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers ↵belugas
were assigned to the zoom in and out buttons in the scenario editor
2008-05-29(svn r13339) -Feature: splitting of the main toolbar when the resolution ↵rubidium
becomes very low so the buttons are still visible and useable. Patch by Dominik.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-22(svn r13208) -Fix (r13173): it was possible to open invalid submenu from ↵smatz
dropdowns
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario ↵smatz
Editor, too
2008-05-19(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, ↵smatz
it was always positioned on the right side
2008-05-18(svn r13173) -Codechange: make windows of the main toolbars.rubidium
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-15(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.rubidium
2008-05-15(svn r13106) -Codechange: rework the toolbar code a little so functions do ↵rubidium
not have to return the Window they just created.
2008-05-12(svn r13061) -Codechange: make a class of the BuildTreesWindow.glx
2008-05-10(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-09(svn r13025) -Codechange: remove the need for two WindowEvents.rubidium
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so ↵rubidium
move it to there.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-07(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirtysmatz