rubidium
9bc1e35625
(svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback.
14 years ago
rubidium
66c7f00b60
(svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes
14 years ago
rubidium
bbaa262b0d
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
14 years ago
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
999246f63e
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
14 years ago
yexo
178b35d555
(svn r20940) -Fix (r20928): switch to the normal alphabet where 'b' comes before 'p'
14 years ago
yexo
8f9ae44a67
(svn r20928) -Update: we have a new developer
14 years ago
yexo
c07fdab16c
(svn r20716) -Feature: add airport class and airport name to the land info tool
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
95d37c8615
(svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window is
14 years ago
terkhen
cfc0df152b
(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window.
14 years ago
frosch
ca6aac6a5a
(svn r20514) -Fix: Draw error messages in white by default, they may not have a colour code.
14 years ago
terkhen
80c43f52e8
(svn r20289) -Codechange: Unify fall through coding style.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
rubidium
80cc566553
(svn r20220) -Fix [FS#3974]: strip non-printable characters before showing it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use
14 years ago
rubidium
816222cd48
(svn r20159) -Change: clarify use of OpenTTD directories and don't use the "TTD" abbreviation for Transport Tycoon Deluxe (parts by planetmaker)
14 years ago
terkhen
51e6cb0a70
(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
frosch
c1cd1c039f
(svn r19917) -Codechange: Split save/load GUI to separate file.
15 years ago
alberth
113f3ef0eb
(svn r19904) -Codechange: Make EventState usable outside Window context.
15 years ago
rubidium
062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
f56ebd81c3
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
15 years ago
peter1138
604da97364
(svn r19434) -Add: Add rail speed limit to land area information window.
15 years ago
yexo
43be04eb27
(svn r19432) -Fix [FS#3696] (r19357): crash when the error message 'owned by <town>' was shown
15 years ago
frosch
ef477b7dd7
(svn r19358) -Fix [FS#3663]: Close error messages about missing ownership when the company closes or is taken over. (parts by Alberth).
15 years ago
frosch
bcb01903cd
(svn r19357) -Codechange: Add 'face' member to ErrmsgWindow to simplify stuff.
15 years ago
smatz
e26f96fee6
(svn r19225) -Feature: show warnings and errors in console as well, not only in a message box
15 years ago
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
yexo
06dc421f2a
(svn r19199) -Codechange: add a 'name'-property to airport tiles
15 years ago
rubidium
d11bb39f43
(svn r19007) -Prepare: 1.0.0-beta4
15 years ago
rubidium
9f49882de7
(svn r18998) -Update: the credits
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
2b82db72ef
(svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set
15 years ago
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
3ca0937c1c
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
15 years ago
rubidium
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
15 years ago
rubidium
454e124912
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
15 years ago
smatz
9cefcdab82
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
15 years ago
alberth
3323d64f28
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
alberth
7fc7324ef8
(svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part.
15 years ago
rubidium
1f0da3710f
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
15 years ago
rubidium
9bb4ad4ba8
(svn r18323) -Fix [FS#3330]: credits were drawn on the border of the window
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
458c73aecb
(svn r18318) -Codechange: add an enum value for manual window placement
15 years ago
rubidium
ff32ea24fc
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
15 years ago
rubidium
8d6e323ef8
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
15 years ago
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
e8141ba9d5
(svn r18208) -Fix [FS#3321]: in some cases the size of the land information window wasn't properly calculated
15 years ago
rubidium
da25f121ac
(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
b6f627a968
(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
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
peter1138
5fdff78c42
(svn r18135) -Codechange: File list text overflowed its container.
15 years ago
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
alberth
0666a70583
(svn r18111) -Change: One more developer added to the history of OpenTTD.
15 years ago
peter1138
4c6f55fc71
(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
cddc057a60
(svn r18099) -Codechange: scale the edit boxes to the fontsize
15 years ago
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
alberth
0bc03c25f4
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
15 years ago
frosch
79627b4f89
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
alberth
e6a164de09
(svn r17967) -Codechange: Specify that the buttons of the query string window should be equal in size.
15 years ago
alberth
076d6e696b
(svn r17966) -Fix (r17965): The Default button should be disabled in some cases rather than the Ok button.
15 years ago
alberth
7a0814c6cc
(svn r17965) -Codechange: query string window uses pure nested widgets.
15 years ago
alberth
cb7c9b09ff
(svn r17945) -Fix (r17940): Absence of main toolbar and/or status bar should not be fatal.
15 years ago
alberth
df8c655ee6
(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
2211e3faad
(svn r17935) -Fix (r17933): Compensate for being inside a class.
15 years ago
alberth
f3d53d3c28
(svn r17933) -Codechange: Move position calculation of error message window into the class.
15 years ago
alberth
d213ffe3ca
(svn r17932) -Fix: Don't let the tooltip go under the status bar.
15 years ago
alberth
898f20ce56
(svn r17931) -Codechange: Error message window uses pure nested widgets.
15 years ago
alberth
44aacfc59f
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
alberth
4ce1f5f0a0
(svn r17927) -Codechange: Rename error message string variables.
15 years ago
alberth
bd8d70e012
(svn r17924) -Codechange: Replace y array with two area rectangles in the error message window.
15 years ago
alberth
617e7966f9
(svn r17921) -Documentation: Add doxygen comments in the ErrmsgWindow struct.
15 years ago
alberth
70ebe13ee8
(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
43abc7b51d
(svn r17918) -Codechange: Move tooltip size calculation into the tooltip window class.
15 years ago
alberth
4374647cbe
(svn r17917) -Codechange: Move tooltip initial position calculation into the tooltip window class.
15 years ago
alberth
ceb57c8314
(svn r17916) -Codechange: Make tooltips window use pure nested widgets.
15 years ago
alberth
52b2d67200
(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
8e7af56d53
(svn r17913) -Documentation: Add doxygen comments to the tooltip window class.
15 years ago
rubidium
ca0521f89f
(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
d5a3ec1996
(svn r17849) -Codechange: make the saveload windows nested
15 years ago
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
313fb65943
(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
049d62b35c
(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
9c6157c578
(svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters
15 years ago
rubidium
c847f5c04e
(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
5fbb263bd2
(svn r17668) -Codechange: Query window uses nested widgets
15 years ago
rubidium
a848fda880
(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
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
smatz
1858fef92f
(svn r17561) -Fix: diacritics was missing at few places
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
ca7f6f5d7a
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
15 years ago
frosch
734edc178d
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
15 years ago
alberth
669b7d01ac
(svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks).
15 years ago
smatz
22e9d59559
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
smatz
0bfea0646c
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
15 years ago
rubidium
59ac4f6b21
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
15 years ago
smatz
2db855e00c
(svn r17359) -Fix: put static before cv qualifier, some compilers complain about that
15 years ago
smatz
352d07b1b5
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
15 years ago
Yexo
fe7ca1b3e3
(svn r17324) -Codechange: Land info window uses nested widget tree
15 years ago
yexo
dc24601b6d
(svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING
15 years ago
yexo
350a773925
(svn r17310) -Codechange: about window uses nested widget tree
15 years ago
smatz
f1e6772381
(svn r17309) -Fix: not all non-ASCII characters were entered with escapes in the About window
15 years ago
rubidium
10b3bcb90c
(svn r17299) -Fix: the tooltip could get truncated under some circumstances due to its custom string height determination
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
d4adee0b1d
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
15 years ago
rubidium
2ae150af8e
(svn r17210) -Update: credits to reflect the (current) truth a bit better
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
4b2592dbc0
(svn r17062) -Change: unify the naming of some 125 strings
15 years ago
rubidium
e3053660c6
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
yexo
4843b3c45d
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
15 years ago
frosch
a288e4d82f
(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
9b070b5405
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
frosch
812ad41f23
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
smatz
c30a87758f
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
alberth
b144a5451c
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
16 years ago
alberth
ba9e014bdc
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
16 years ago
alberth
5eecf3e5cb
(svn r16463) -Cleanup: Code style fixes.
16 years ago
frosch
8109a74c95
(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
62a7948af0
(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
00bc2659f2
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
alberth
a8aa4e2148
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
16 years ago
alberth
bbb951151d
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
16 years ago
alberth
0cd6dde6a7
(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
590becf567
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
16 years ago
rubidium
2664f2a2d9
(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
34066a6027
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
16 years ago
rubidium
e825d56786
(svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face
16 years ago
rubidium
afada70bac
(svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant
16 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
rubidium
11c6d30e77
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
16 years ago
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.
16 years ago
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
e5ab73e762
(svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows.
16 years ago
alberth
23f0277526
(svn r16032) -Codechange: Completing widget numbers of query windows.
16 years ago