summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
AgeCommit message (Collapse)Author
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
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-09(svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar buttonrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-13(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by ↵frosch
other functions already.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-15(svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor ↵alberth
did not raise again.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-07-25(svn r16951) -Change: order the strings in the options dropdown slightly ↵rubidium
more logical
2009-07-25(svn r16949) -Codechange: unify the way the DisplayOption enums are writtenrubidium
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-06-01(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar ↵smatz
and select appropriate tool
2009-05-26(svn r16430) -Fix: crash when a company is deleted while a dropdown with ↵smatz
company names is open
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-16(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game ↵rubidium
year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-21(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windowsglx
2009-03-21(svn r15783) -Codechange: make the dropdown draw code pass around the ↵rubidium
left/right instead of the x and width to make drawing text at offsets easier.
2009-03-21(svn r15782) -Codechange: replace some calls to the all text drawing API to ↵rubidium
the new one.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-02(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making ↵rubidium
it possible to remove someone's tram tracks. -Feature: allow building road stops on road/tram tracks of competitors.
2009-02-11(svn r15448) -Codechange: Don't show rail types in selection drop downs if ↵peter1138
they have no label.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-24(svn r15254) -Fix (r15242): of course MSVC requires a castglx
2009-01-23(svn r15242) -Feature: allow moving clients between companies/spectators by ↵rubidium
the server and the clients themselves (dihedral)
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-09(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main ↵smatz
toolbar, not after finishing the selection
2008-08-28(svn r14181) -Fix (r14175): Rail types are not road typespeter1138
2008-08-25(svn r14175) -Codechange: Rewrite the main toolbars to use the standard ↵peter1138
dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
2008-08-03(svn r13970) -Codechange: Replace numbers with Colours enum on network, ↵belugas
toolbar and dropdown guis. Mostly forgotten ones.
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