alberth
777d5ce12e
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
2009-11-20 20:10:06 +00:00
rubidium
0fc733f3a0
(svn r18165) -Codechange: make company dropdowns RTL aware
2009-11-18 12:31:48 +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
95af4f40f3
(svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel
2009-11-15 20:16:51 +00:00
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
2009-11-15 13:36:30 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
rubidium
cbeba59fc2
(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
2009-11-09 17:20:48 +00:00
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
2009-11-09 09:59:35 +00:00
rubidium
7f8a062f3f
(svn r17986) -Codechange: make the scenario 'main' toolbar nested. Also make it implement the 'switch' toolbar feature when it gets really small.
2009-11-06 20:34:43 +00:00
rubidium
1000445382
(svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself.
2009-11-06 20:32:15 +00:00
rubidium
8678730ce3
(svn r17973) -Fix: 'save' toolbar button didn't change when clicking it
...
-Fix: wrong widgets (e.g. finances and company) could be visually disabled, based on the state of the zoom in/out buttons. However, they were still clickable
-Codechange: make the main toolbar a nested window
2009-11-04 20:02:14 +00:00
rubidium
32b568a7e9
(svn r17971) -Codechange: make the code of the toolbar more uniform; give the switch bar a tooltip and unify the naming of sprites.
2009-11-04 18:28:59 +00:00
rubidium
b2946819e4
(svn r17970) -Codechange: some coding style / improvement of constant usage
2009-11-04 15:50:14 +00:00
rubidium
fd29b7b526
(svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing
2009-11-04 15:49:27 +00:00
smatz
090c762921
(svn r17938) -Feature: non-automatic screenshot name can be entered in console
2009-11-01 18:15:35 +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
2b7d09b73e
(svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button
2009-10-09 17:35:01 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
15511678e3
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
2009-09-21 18:16:00 +00:00
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
2009-09-20 23:11:01 +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
frosch
734edc178d
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
2009-09-13 17:37:47 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
alberth
118d5e9fac
(svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again.
2009-08-15 20:33:38 +00:00
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
rubidium
4b2592dbc0
(svn r17062) -Change: unify the naming of some 125 strings
2009-08-04 18:04:33 +00:00
rubidium
36a28fe3d2
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
2009-07-25 11:02:15 +00:00
rubidium
65d4d8b46c
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
2009-07-25 10:54:42 +00:00
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
2009-07-23 19:31:50 +00:00
smatz
da57fe63f3
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
2009-06-01 14:36:36 +00:00
smatz
af07333c78
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
2009-05-26 11:57:52 +00:00
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22 15:23:47 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
bdbbe3a09b
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-16 18:58:15 +00:00
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-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-05-06 15:06:57 +00:00
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-21 23:40:56 +00:00
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
2009-04-19 10:31:30 +00:00
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
2009-03-29 09:49:11 +00:00
glx
9fcff01850
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
2009-03-21 20:06:00 +00:00
rubidium
93fe44a3c5
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
2009-03-21 19:31:47 +00:00
rubidium
8a758beec3
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
2009-03-21 19:10:26 +00:00
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
2009-03-15 15:12:06 +00:00
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
2009-03-15 00:32:18 +00:00
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
2009-03-14 18:16:29 +00:00
rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
peter1138
3728df8323
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
2009-02-11 18:10:12 +00:00
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
2009-02-09 02:09:47 +00:00
rubidium
861e9cefb3
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
2009-02-09 01:22:29 +00:00
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
2009-02-08 12:25:13 +00:00