Commit Graph

87 Commits

Author SHA1 Message Date
alberth
71aac2192f (svn r20221) -Codechange: Move unscrolled row calculation into a function. 2010-07-26 13:02:28 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
smatz
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
42d7f30dcc (svn r18608) -Change: add the concept of music sets 2009-12-22 21:40:29 +00:00
rubidium
834a91ddc6 (svn r18603) -Codechange: move getting the song name to music_gui.cpp 2009-12-22 18:34:07 +00:00
rubidium
2d1827dfa6 (svn r18369) -Fix [FS#3339] (rbeginning): off-by-one in the preconfigured music lists 2009-12-02 08:55:53 +00:00
rubidium
21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
74b737f958 (svn r18311) -Codechange: no need to hardcode locations of some 'random' windows 2009-11-28 13:38:34 +00:00
rubidium
ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium
50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium
ea0fd4656a (svn r18267) -Codechange: make the music window big font aware 2009-11-24 13:14:48 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium
5d685f7195 (svn r18192) -Codechange: make the music window RTL aware 2009-11-19 20:34:45 +00:00
rubidium
8a3262c114 (svn r18182) -Codechange: use the zero fill control code instead of duplicating strings with 'only' the 0 differing 2009-11-19 13:56:10 +00:00
rubidium
8e11cd3a42 (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
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
alberth
d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
yexo
dbe9917574 (svn r17381) -Codechange: music track selection window uses nested widgets 2009-09-02 14:09:51 +00:00
yexo
657165ae7d (svn r17361) -Fix (r17360): committed a bit too much 2009-09-01 21:35:28 +00:00
yexo
5678d36895 (svn r17360) -Fix (r17329): the 'track' and 'title' texts were lost in the conversion to nested widgets 2009-09-01 21:30:14 +00:00
yexo
3f2af511f0 (svn r17353) -Codechange: make sure the shuffle and programme buttons in the music window are always the same size 2009-09-01 19:18:42 +00:00
yexo
ef8a9a25ff (svn r17331) -Codechange: don't depend on static widget position/size for drawing of volumer sliders in music window 2009-08-30 21:31:54 +00:00
yexo
dc9d4865c9 (svn r17330) -Codechange: Lower some buttons in the music window when clicked instead of changing the text colour to white 2009-08-30 20:38:57 +00:00
yexo
c54d23e954 (svn r17329) -Codechange: music window uses nested widgets 2009-08-30 19:23:36 +00:00
rubidium
d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
rubidium
650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium
5c5b357043 (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
alberth
bb02e72326 (svn r16013) -Codechange: Add nested widgets to music windows. 2009-04-10 11:06:12 +00:00
alberth
328fc1fc71 (svn r16011) -Codechange: Extracting widget number enums from the window classes. 2009-04-10 11:02:09 +00:00
alberth
3ea6a6be53 (svn r16010) -Cleanup: Declare variables at first use. 2009-04-10 10:29:28 +00:00
alberth
b1673a2d27 (svn r16009) -Codechange: Simplifying some variable assignments. 2009-04-10 10:21:16 +00:00
alberth
a903a5dc79 (svn r16008) -Fix (r15808): Unswap swapped music selection panels. 2009-04-10 09:43:53 +00:00
rubidium
fd4825662f (svn r15846) -Fix: shuffle button text alignment was based on the wrong widget 2009-03-25 14:15:34 +00:00
rubidium
12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 2009-03-22 12:01:21 +00:00
rubidium
89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
rubidium
7f468dc142 (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
c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium
28ea38ae55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium
ca4b7b2046 (svn r14811) -Fix: off-by-one causing possible out-of-bounds reads. 2009-01-03 17:10:20 +00:00