Commit Graph

230 Commits

Author SHA1 Message Date
Jonathan G Rennison
b0b366898f Group collapsing is now per-window, remove C++11 dependance.
Change from a std::map to a SmallVector.
2016-01-19 19:01:51 +00:00
keldorkatarn
7673cadc0e Added buttons to collapse or expand ALL groups.
(cherry picked from commit bb6b96e8663b5cb3da87d8473e70e373a36b3997)
2016-01-19 18:36:30 +00:00
keldorkatarn
34304a130c Groups can now be collapsed and re-expanded.
(cherry picked from commit 9e8d5600557e2d115338a9b173f940065248ed27)
2016-01-19 18:35:40 +00:00
frosch
04aa61ffac (svn r27300) -Fix [FS#6306]: Silence GCC warning (Cif) 2015-06-20 11:05:11 +00:00
peter1138
6872b647f1 (svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort buttons with non-static width. 2014-10-05 11:20:02 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
peter1138
816ab7fc8a (svn r26455) -Change: Prompt for confirmation when deleting a vehicle group. 2014-04-11 18:14:44 +00:00
peter1138
ed8f6f1a0f (svn r26450) -Feature: Hierarchical vehicle subgroups. 2014-04-08 21:09:06 +00:00
frosch
538159cb1d (svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size. 2013-06-30 14:36:31 +00:00
frosch
7dac11fbb2 (svn r25533) -Codechange: Use SetCapacityFromWidget more often. 2013-06-30 14:33:32 +00:00
frosch
f6d27acb51 (svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets. 2013-06-30 14:32:31 +00:00
frosch
ddf817e8f3 (svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them. 2013-06-01 14:33:48 +00:00
frosch
13badddd75 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 2013-05-26 19:30:07 +00:00
frosch
16feb5c4e9 (svn r25290) -Add: Assign string names to notable windows. 2013-05-26 19:25:01 +00:00
frosch
25adefca23 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 2013-05-26 19:23:42 +00:00
frosch
eb20798aae (svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations. 2012-12-08 17:18:51 +00:00
frosch
3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
terkhen
98e49d3648 (svn r24626) -Fix [FS#5432]: MSVC 2010 warnings. 2012-10-25 17:38:12 +00:00
frosch
33c07c0fd7 (svn r24595) -Change [FS#5168]: Make the group GUI drag&drop highlighting behave more intelligible. (based on work by Juanjo) 2012-10-14 19:15:00 +00:00
alberth
e54b1a177f (svn r24550) -Codechange: Remove unused panel widget in the group gui (Juanjo). 2012-09-22 19:16:04 +00:00
alberth
87214b78a9 (svn r24549) -Codechange: Remove the hard-coded sprite button sizes in the group gui (Juanjo). 2012-09-22 19:15:16 +00:00
alberth
9f77118751 (svn r24548) -Add: Extra group line in the group gui, if possible (Juanjo). 2012-09-22 19:14:06 +00:00
alberth
eedb4356f1 (svn r24547) -Add [FS#5263]: Separate the 'available vehicles' from the other buttons in the group gui (Juanjo). 2012-09-22 19:12:22 +00:00
michi_cc
83a0b3cf1d (svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on patch by Juanjo) 2012-04-17 19:44:16 +00:00
michi_cc
ddb44528d7 (svn r24138) -Feature(ette): Ctrl+drag to add all vehicles with a shared order list to a group. (Juanjo) 2012-04-17 19:44:12 +00:00
michi_cc
0c9cb60ef2 (svn r24125) -Add [FS#3705]: Drag destination highlighting to the group GUI. (sbr) 2012-04-17 19:43:09 +00:00
rubidium
d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain
a94fdb08f0 (svn r23533) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:32:48 +00:00
truebrain
49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
frosch
0e28c6665e (svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed. 2011-11-20 14:39:12 +00:00
frosch
6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
peter1138
cacf7ecf2b (svn r23017) -Codechange: Add support for resized scrollbars. 2011-10-11 08:07:47 +00:00
frosch
37301ea23d (svn r22985) -Feature: Display autoreplace status in group GUI. 2011-10-03 17:26:37 +00:00
frosch
f9f257ce4a (svn r22984) -Feature: Display profit icons for groups in the group GUI. 2011-10-03 17:25:44 +00:00
frosch
e1ce16db1c (svn r22983) -Feature: Display the number of vehicles in the group GUI also for the ALL and DEFAULT groups. 2011-10-03 17:25:03 +00:00
frosch
c531453320 (svn r22976) -Codechange: Split group statistics into separate struct. 2011-10-03 17:20:26 +00:00
rubidium
9fc2798baf (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
rubidium
6cc9a2884d (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 2011-04-30 14:24:23 +00:00
terkhen
a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch
db3a8d1abf (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 2011-03-13 21:34:21 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
frosch
1a14c133c6 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 2011-03-08 20:52:59 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium
48101ae6a7 (svn r21411) -Codechange: limit group name by amount of characters, not bytes 2010-12-05 22:24:34 +00:00
terkhen
64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
terkhen
88fe4eaf79 (svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages. 2010-11-18 17:49:42 +00:00
planetmaker
310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 2010-10-19 21:48:20 +00:00
rubidium
2f44aa8a40 (svn r20894) -Fix [FS#4148] (r20772): use correct company name for group window title (sbr) 2010-10-03 19:17:53 +00:00
frosch
5f6724450b (svn r20845) -Fix (r20835): Group GUI was no longer horizontally resizeable. 2010-09-25 17:46:54 +00:00
yexo
861cc5bfcc (svn r20835) -Fix: the group gui had a small unused area with bigger gui buttons 2010-09-21 20:33:49 +00:00