alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
092ed60342
(svn r18208) -Fix [FS#3321]: in some cases the size of the land information window wasn't properly calculated
15 years ago
rubidium
bea622be02
(svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
...
-Fix (r18168): crash when switching languages when a non-standard font height is used
15 years ago
rubidium
8bc7f13999
(svn r18171) -Change: always align the about to the left; it is not translated and as such it's never a RTL text.
15 years ago
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
peter1138
d6b3756d63
(svn r18135) -Codechange: File list text overflowed its container.
15 years ago
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
alberth
c025be2807
(svn r18111) -Change: One more developer added to the history of OpenTTD.
15 years ago
peter1138
b303690103
(svn r18104) -Codechange: Let the query popup window's text entry field expand if necessary (e.g. with long window title).
15 years ago
rubidium
bb5a43e609
(svn r18099) -Codechange: scale the edit boxes to the fontsize
15 years ago
rubidium
1f6f15a126
(svn r18092) -Codechange: remove support for the unnested widgets
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
alberth
c7ca4691c4
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
15 years ago
frosch
3cb949a17d
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
alberth
171fa9d16b
(svn r17967) -Codechange: Specify that the buttons of the query string window should be equal in size.
15 years ago
alberth
95990e6d10
(svn r17966) -Fix (r17965): The Default button should be disabled in some cases rather than the Ok button.
15 years ago
alberth
cc0906a49c
(svn r17965) -Codechange: query string window uses pure nested widgets.
15 years ago
alberth
e22b5ed872
(svn r17945) -Fix (r17940): Absence of main toolbar and/or status bar should not be fatal.
15 years ago
alberth
06f7a2fc76
(svn r17940) -Codechange: Use real y position of the main toolbar and status bar instead of hardcoded sizes for tooltip and for error message windows.
15 years ago
alberth
869370dd2a
(svn r17935) -Fix (r17933): Compensate for being inside a class.
15 years ago
alberth
b4f8ea259a
(svn r17933) -Codechange: Move position calculation of error message window into the class.
15 years ago
alberth
74a9be4f59
(svn r17932) -Fix: Don't let the tooltip go under the status bar.
15 years ago
alberth
57cdbcb418
(svn r17931) -Codechange: Error message window uses pure nested widgets.
15 years ago
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
alberth
173c6ae977
(svn r17927) -Codechange: Rename error message string variables.
15 years ago
alberth
ae3c6b0935
(svn r17924) -Codechange: Replace y array with two area rectangles in the error message window.
15 years ago
alberth
9059383676
(svn r17921) -Documentation: Add doxygen comments in the ErrmsgWindow struct.
15 years ago
alberth
8e6f96e322
(svn r17919) -Codechange (r17849): Remove the outermost NWID_LAYERED and NWID_VERTICAL containers from the load and save nested widget parts, since they do nothing.
15 years ago
alberth
9deb0eb32b
(svn r17918) -Codechange: Move tooltip size calculation into the tooltip window class.
15 years ago
alberth
e6c50f7e7d
(svn r17917) -Codechange: Move tooltip initial position calculation into the tooltip window class.
15 years ago
alberth
141be7b048
(svn r17916) -Codechange: Make tooltips window use pure nested widgets.
15 years ago
alberth
256adf9c8a
(svn r17914) -Codechange: Use some constants in the size calculation, and pass the size as a combined value to the tooltip window.
15 years ago
alberth
d57223144d
(svn r17913) -Documentation: Add doxygen comments to the tooltip window class.
15 years ago
rubidium
c1365b3cc1
(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.
15 years ago
rubidium
343586484b
(svn r17849) -Codechange: make the saveload windows nested
15 years ago
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
abbfdb1396
(svn r17771) -Codechange: use the 'StringID' function instead of the 'const char *' function + custom code to resolve the 'const char *' from the 'StringID'
15 years ago
michi_cc
d6da4f24ad
(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
da2fe3293c
(svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters
15 years ago
rubidium
0855ae61de
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
15 years ago
yexo
fb773a2016
(svn r17668) -Codechange: Query window uses nested widgets
15 years ago
rubidium
6c74ca895a
(svn r17620) -Fix (r17502): edit box offsets were off. Now they're still off, but look (in my opinion) even better than before
15 years ago
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
15 years ago
alberth
d54028fde8
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
smatz
9f4f7a2892
(svn r17561) -Fix: diacritics was missing at few places
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
ca78c69924
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
15 years ago
frosch
263952f557
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
15 years ago
alberth
ed5a0dfaf1
(svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks).
15 years ago
smatz
5d622fd840
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
smatz
dc73d5432d
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
15 years ago
rubidium
6d72ae033a
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
15 years ago
smatz
7744a7303a
(svn r17359) -Fix: put static before cv qualifier, some compilers complain about that
15 years ago
smatz
f22e1cf9ab
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
15 years ago
Yexo
7cb4f3e7a3
(svn r17324) -Codechange: Land info window uses nested widget tree
15 years ago
yexo
a3382deac7
(svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING
15 years ago
yexo
fad737decb
(svn r17310) -Codechange: about window uses nested widget tree
15 years ago
smatz
0b980d91c7
(svn r17309) -Fix: not all non-ASCII characters were entered with escapes in the About window
15 years ago
rubidium
d5bd62ad15
(svn r17299) -Fix: the tooltip could get truncated under some circumstances due to its custom string height determination
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
be9033295e
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
5e40d05c51
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
15 years ago
rubidium
6174908dff
(svn r17210) -Update: credits to reflect the (current) truth a bit better
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
5bb7b8ad35
(svn r17062) -Change: unify the naming of some 125 strings
15 years ago
rubidium
39e6dbd5e3
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
yexo
bd8f92d3ff
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
15 years ago
frosch
523cde0798
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
15 years ago
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
frosch
4c3f480f92
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
16 years ago
alberth
dd43a1b97f
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
16 years ago
alberth
feaaf78a63
(svn r16463) -Cleanup: Code style fixes.
16 years ago
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
53ae829b0b
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
alberth
20dab97717
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
16 years ago
alberth
904e5dc1d3
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
16 years ago
alberth
92f7cc590d
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
16 years ago
alberth
ba0cf5ae1b
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
16 years ago
rubidium
241af768f0
(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
16 years ago
alberth
a3abbfc204
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
16 years ago
rubidium
f5335b6aaa
(svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face
16 years ago
rubidium
4a0301cf29
(svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant
16 years ago
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
rubidium
dd2661bbbd
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
16 years ago
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.
16 years ago
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
4f5bd05db6
(svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows.
16 years ago
alberth
730c6b4e6c
(svn r16032) -Codechange: Completing widget numbers of query windows.
16 years ago
rubidium
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
glx
13b6aaa425
(svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset
16 years ago
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago