Commit Graph

239 Commits

Author SHA1 Message Date
truebrain
aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
truebrain
feddd40bcc (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:14:11 +00:00
truebrain
49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
peter1138
b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 2011-11-24 12:38:48 +00:00
frosch
856db2751a (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 2011-10-21 19:10:35 +00:00
frosch
43f7d6c0b7 (svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices. 2011-05-07 00:22:46 +00:00
frosch
a36ccb0e07 (svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros. 2011-05-07 00:15:46 +00:00
frosch
7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
michi_cc
b339fdae41 (svn r22428) -Codechange: Reduce code duplication in the smallmap legend. 2011-05-06 20:57:02 +00:00
frosch
7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
rubidium
6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 2011-05-01 19:51:52 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
terkhen
c407dda851 (svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window. 2011-02-22 14:23:38 +00:00
frosch
291ef7e082 (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 2011-02-05 16:36:37 +00:00
terkhen
1f75b91654 (svn r21830) -Fix: Deunionize a union which was not initialized correctly. 2011-01-17 19:40:06 +00:00
terkhen
0152ea53c8 (svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view. 2011-01-15 20:23:15 +00:00
terkhen
789da3ffa3 (svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
2011-01-05 11:04:29 +00:00
terkhen
5c9e09419d (svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work. 2011-01-04 22:56:56 +00:00
terkhen
2e92755d6c (svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap. 2011-01-04 21:03:57 +00:00
terkhen
f57eb2c886 (svn r21725) -Cleanup: Remove unused owner code. 2011-01-04 21:03:01 +00:00
terkhen
61b5cdbcd8 (svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window. 2011-01-04 21:02:10 +00:00
terkhen
e6dbc0ca88 (svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap. 2011-01-04 21:01:29 +00:00
terkhen
f7d9da95a7 (svn r21721) -Codechange: Rename the smallmap button panel and its strings. 2011-01-04 20:59:41 +00:00
terkhen
88f8363881 (svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap. 2011-01-04 20:58:42 +00:00
terkhen
41d13b9d63 (svn r21719) -Doc: Correct a doxygen comment. 2011-01-04 20:58:07 +00:00
terkhen
1af95597cf (svn r21718) -Feature: Show a list of companies in the owner legend. 2011-01-04 20:57:11 +00:00
terkhen
247cced2ad (svn r21717) -Codechange: Unify smallmap functions for getting the legend height. 2011-01-04 20:56:00 +00:00
terkhen
929aaa7e08 (svn r21716) -Add: Tooltip for the industry legend at the smallmap. 2011-01-04 20:54:36 +00:00
terkhen
dcb71c3770 (svn r21715) -Fix: Use the correct land colour in the owner legend. 2011-01-04 20:53:57 +00:00
alberth
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth
e7de92f70b (svn r20851) -Fix: Smallmap legend buttons must all be equal in size, even if their contents is not. 2010-09-26 11:28:03 +00:00
frosch
b170aa4b83 (svn r20741) -Cleanup: Use IsTileOnWater() in more places. 2010-09-05 13:18:54 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
alberth
9b10773428 (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 2010-08-08 11:21:24 +00:00
alberth
15f407acea (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 2010-08-08 11:17:14 +00:00
rubidium
1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
alberth
67be093e57 (svn r20410) -Codechange: Move smallmap map-type switching to a function. 2010-08-08 10:47:09 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
rubidium
5e83d73679 (svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again. 2010-07-14 17:36:27 +00:00
alberth
1f08a7a72e (svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG). 2010-05-14 17:49:55 +00:00
rubidium
f2d86acbd9 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 2010-05-13 11:19:30 +00:00
frosch
fc4ad28cb0 (svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend. 2010-05-08 17:33:04 +00:00
alberth
14d545e902 (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 2010-05-07 20:39:00 +00:00
alberth
a3a8429531 (svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct. 2010-05-07 20:27:22 +00:00
rubidium
fabbe2a6c9 (svn r19760) -Change: use the {HEIGHT} command for the smallmap legend 2010-05-04 22:12:09 +00:00
frosch
a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
smatz
5e77cefb6a (svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window 2010-04-07 21:24:27 +00:00