rubidium
14300d309c
(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
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
rubidium
5e247b6e43
(svn r18267) -Codechange: make the music window big font aware
2009-11-24 13:14:48 +00:00
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
2009-11-22 18:28:14 +00:00
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
2009-11-22 18:26:01 +00:00
rubidium
16f270467f
(svn r18192) -Codechange: make the music window RTL aware
2009-11-19 20:34:45 +00:00
rubidium
8e201585e6
(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
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
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
alberth
116c77c342
(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
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
yexo
070118c5c3
(svn r17381) -Codechange: music track selection window uses nested widgets
2009-09-02 14:09:51 +00:00
yexo
e78da26f3c
(svn r17361) -Fix (r17360): committed a bit too much
2009-09-01 21:35:28 +00:00
yexo
f3d2be7581
(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
b2fef7c64e
(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
51806af03d
(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
1f7fc96a78
(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
6992d740f6
(svn r17329) -Codechange: music window uses nested widgets
2009-08-30 19:23:36 +00:00
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
2009-08-23 19:03:09 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
4b2592dbc0
(svn r17062) -Change: unify the naming of some 125 strings
2009-08-04 18:04:33 +00:00
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
2009-04-26 14:52:56 +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
alberth
ba200c6a92
(svn r16013) -Codechange: Add nested widgets to music windows.
2009-04-10 11:06:12 +00:00
alberth
9acb1dc3f2
(svn r16011) -Codechange: Extracting widget number enums from the window classes.
2009-04-10 11:02:09 +00:00
alberth
69ad98ecd5
(svn r16010) -Cleanup: Declare variables at first use.
2009-04-10 10:29:28 +00:00
alberth
0f360420fe
(svn r16009) -Codechange: Simplifying some variable assignments.
2009-04-10 10:21:16 +00:00
alberth
d28cd96817
(svn r16008) -Fix (r15808): Unswap swapped music selection panels.
2009-04-10 09:43:53 +00:00
rubidium
3e979be390
(svn r15846) -Fix: shuffle button text alignment was based on the wrong widget
2009-03-25 14:15:34 +00:00
rubidium
57174a9301
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
2009-03-22 12:01:21 +00:00
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
2009-03-21 22:00:00 +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
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
6512d717e1
(svn r14811) -Fix: off-by-one causing possible out-of-bounds reads.
2009-01-03 17:10:20 +00:00
rubidium
099022224f
(svn r14810) -Codechange: use the proper style for global variables.
2009-01-03 17:09:31 +00:00
frosch
f2eba8b0bf
(svn r14485) -Fix (r5464): Do not check the end of destination buffer using the source pointer.
...
Did not cause trouble though as destination buffer has always been bigger than source buffer.
2008-10-18 14:11:09 +00:00
frosch
63a9ddeb77
(svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo)
2008-10-18 13:43:52 +00:00
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31 10:50:05 +00:00
belugas
5c3b347350
(svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
...
-Fix: a few misalignements
2008-07-31 14:42:55 +00:00
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
2008-05-19 09:48:47 +00:00
glx
c1713c9ab7
(svn r13150) -Codechange: make classes of the Music[TrackSelection]Window.
2008-05-17 22:52:51 +00:00
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
2008-05-17 12:48:06 +00:00
rubidium
f438700402
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-09 09:29:27 +00:00
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
2008-05-08 11:50:34 +00:00
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
2008-05-06 22:08:18 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
fde33b5547
(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places.
2008-01-29 00:26:31 +00:00
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
2008-01-09 09:45:45 +00:00
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
2007-12-29 09:24:26 +00:00
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-19 19:44:29 +00:00
rubidium
527b72749d
(svn r11555) -Codechange: use the new members introduced in r11551.
2007-12-02 14:29:48 +00:00
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
2007-11-24 10:38:43 +00:00
belugas
56e6282f2f
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
2007-11-04 00:08:57 +00:00
belugas
2c330b2dff
(svn r11281) -Revert(r11259): the problem was not there. In fact, it made it so that no more music were allowed on intro.
...
-Fix[FS#1331]: Somehow, the notion that the first song must be the ttd theme has been lost while on the intro window.
When using shuffling setting (which was saved), the intro song at startup was shuffled too. No more :)
2007-10-17 01:33:21 +00:00
rubidium
835a9670af
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
2007-10-14 19:46:00 +00:00
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
2007-07-27 12:49:04 +00:00
rubidium
efc7fdf2fd
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
peter1138
68c6add8cc
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-05 12:23:54 +00:00
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
belugas
b71354dc40
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
2007-03-03 04:04:22 +00:00
Darkvater
1bbbbeeef1
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23 12:56:10 +00:00
rubidium
c8882bd3d2
(svn r8511) -Codechange: make WindowClass an enumerated value.
2007-02-01 15:49:12 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00