smatz
|
57a3e09fc4
|
(svn r19921) -Fix [FS#3865]: closing chatbox could cause glitches when news message was shown
|
15 years ago |
yexo
|
b9d7aa05c0
|
(svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game
|
15 years ago |
frosch
|
94a5c917a5
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
15 years ago |
rubidium
|
9467b7c6d6
|
(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
|
6cac8be361
|
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
15 years ago |
frosch
|
dd7f373eab
|
(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker.
|
15 years ago |
alberth
|
0e9dac92d2
|
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
|
15 years ago |
alberth
|
f7e40c76e4
|
(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix.
|
15 years ago |
alberth
|
9da59e01a2
|
(svn r18349) -Fix (r18347): Older compilers want explicit assignments.
|
15 years ago |
alberth
|
b85262d622
|
(svn r18347) -Codechange: Compute width of labels in news settings window once.
|
15 years ago |
rubidium
|
55897be79b
|
(svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp.
|
15 years ago |
rubidium
|
21f2acfd01
|
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
|
15 years ago |
rubidium
|
45eb0be570
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
15 years ago |
rubidium
|
fedb593293
|
(svn r18318) -Codechange: add an enum value for manual window placement
|
15 years ago |
rubidium
|
74b737f958
|
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
|
15 years ago |
rubidium
|
50359b2d08
|
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
|
15 years ago |
rubidium
|
f8b79068e6
|
(svn r18274) -Codechange: remove the unused WDF flags
|
15 years ago |
rubidium
|
79c677d61b
|
(svn r18257) -Fix: glitch when the news message is wider than the status bar
|
15 years ago |
rubidium
|
8c049c7c34
|
(svn r18252) -Fix: crash when news is shown when the end game window is opened (status bar goes missing for a while etc.)
|
15 years ago |
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
|
c227abd7c3
|
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
|
15 years ago |
rubidium
|
f106bbbe5c
|
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
|
15 years ago |
rubidium
|
ef4e936acb
|
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
|
15 years ago |
rubidium
|
646757adee
|
(svn r18187) -Codechange: make the advanced face selection, custom currency, difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget)
|
15 years ago |
rubidium
|
d31d1396e2
|
(svn r18180) -Codechange: make the news history window RTL aware
|
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 |
rubidium
|
a13fd6ddce
|
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
|
15 years ago |
rubidium
|
ddafe77904
|
(svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions
|
15 years ago |
rubidium
|
b01251092e
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
15 years ago |
rubidium
|
224f4e0197
|
(svn r18028) -Codechange: unglobalise some functions
|
15 years ago |
rubidium
|
c4c56ea04d
|
(svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used
|
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
|
b72898c8a3
|
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
|
15 years ago |
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
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 |
alberth
|
d54028fde8
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
15 years ago |
rubidium
|
310465da07
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
15 years ago |
frosch
|
0e36260337
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
alberth
|
c188200bfe
|
(svn r17398) -Codechange: Fill normal news item window with widgets.
|
15 years ago |
alberth
|
013c615ede
|
(svn r17397) -Codechange: Add new vehicle news window.
|
15 years ago |
alberth
|
f24b6797ae
|
(svn r17396) -Codechange: Add company news window.
|
15 years ago |
alberth
|
e09d1be9ac
|
(svn r17395) -Codechange: Fill thin window with widgets.
|
15 years ago |
alberth
|
fa83a5de3b
|
(svn r17394) -Codechange: Add news flags for viewport settings.
|
15 years ago |
alberth
|
61800b82a2
|
(svn r17393) -Codechange: Fill small window with widgets.
|
15 years ago |
alberth
|
d6f7e7fe23
|
(svn r17392) -Codechange: Use 'default' for reacting on click.
|
15 years ago |
alberth
|
72341ca1df
|
(svn r17390) -Codechange: Switch news item windows to nested widgets.
|
15 years ago |
alberth
|
cc57785308
|
(svn r17387) -Codechange: Add news-item window description to NewsSubtypeData.
|
15 years ago |
alberth
|
64b3cab2ff
|
(svn r17385) -Codechange: Removed some unneeded parentheses.
|
15 years ago |
rubidium
|
d5e749d8b1
|
(svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers
|
15 years ago |
rubidium
|
c1fe2ce4bc
|
(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster.
|
15 years ago |
rubidium
|
d4a98be94a
|
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
|
15 years ago |
alberth
|
bdb54a11dd
|
(svn r17265) -Codechange: Typo fix, small is with two l's
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
c096e3d54c
|
(svn r17228) -Codechange: some coding style fixes
|
15 years ago |
alberth
|
e5577c7c01
|
(svn r17204) -Codechange: Move viewport initialization into the constructor of the news item window.
|
15 years ago |
alberth
|
8484638ba8
|
(svn r17202) -Codechange: News item is already given as argument.
|
15 years ago |
alberth
|
a634d839fb
|
(svn r17200) -Codechange: Initialize NewsWindow::duration, add some documentation strings.
|
15 years ago |
alberth
|
7877b5b304
|
(svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode.
|
15 years ago |
alberth
|
2a155ffbf9
|
(svn r17188) -Codechange: Use display mode names for naming window and widget descriptions.
|
15 years ago |
alberth
|
c4bcae1599
|
(svn r17187) -Codechange: Make switches on news display mode complete.
|
15 years ago |
alberth
|
f8252a7b74
|
(svn r17178) -Codechange (r17177): Remove now unused define.
|
15 years ago |
alberth
|
45cad5c733
|
(svn r17177) -Codechange: Message options window uses nested widget tree.
|
15 years ago |
alberth
|
4cd2dfecdf
|
(svn r17176) -Codechange: Move widget state updating out of OnPaint method of message options window.
|
15 years ago |
alberth
|
b21edb5c61
|
(svn r17174) -Codechange: Switch to vertical alignment in the message options window.
|
15 years ago |
alberth
|
a6d4d3351a
|
(svn r17172) -Codechange: Move the _message_opt variable into the MessageOptionsWindow struct.
|
15 years ago |
alberth
|
0cc8cbd40d
|
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
|
15 years ago |
frosch
|
e44a69b92f
|
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
|
15 years ago |
alberth
|
e8c34c300d
|
(svn r17123) -Codechange (r17122): Use this for calling methods.
|
15 years ago |
alberth
|
a4ef6a78a2
|
(svn r17122) -Codechange: Message history window uses nested widget tree.
|
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 |
alberth
|
0dcb1a320d
|
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
|
15 years ago |
alberth
|
627cb3abe2
|
(svn r16487) -Codechange [FS#2940]: Add widget numbers to news display and news history windows (based on work by erikjanp)
|
16 years ago |
alberth
|
02c1ed111d
|
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
|
16 years ago |
frosch
|
eeb3f75cfe
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
16 years ago |
smatz
|
d495dc5dbc
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
rubidium
|
08655368eb
|
(svn r16297) -Codechange: silence more ICC warnings
|
16 years ago |
alberth
|
d477532aed
|
(svn r16205) -Codechange: Added nested widgets for news windows and news-settings window.
|
16 years ago |
alberth
|
8214a1746c
|
(svn r16204) -Codechange: Completing widget numbers of news settings window.
|
16 years ago |
alberth
|
785c4dad07
|
(svn r16203) -Codechange: Simplify widget layout of news settings window.
|
16 years ago |
alberth
|
41003af530
|
(svn r16202) -Codechange: Use widget top coordinate instead of hardcoded value.
|
16 years ago |
alberth
|
5175aa9e9b
|
(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.
|
16 years ago |
rubidium
|
3bd4eeb178
|
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
|
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 |
alberth
|
bbd546b792
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
16 years ago |
smatz
|
ce4f598cf5
|
(svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h
|
16 years ago |
alberth
|
8f5f39cf09
|
(svn r15820) -Codechange: Some windows using nested widgets
|
16 years ago |
rubidium
|
2e38d7c332
|
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
|
16 years ago |
rubidium
|
31a5457c03
|
(svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
|
16 years ago |
rubidium
|
2a422e3e95
|
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
|
16 years ago |
rubidium
|
89d614deea
|
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
|
16 years ago |
rubidium
|
c1aabd9842
|
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
|
16 years ago |
smatz
|
d28895c88b
|
(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate
|
16 years ago |
rubidium
|
7f468dc142
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
16 years ago |
rubidium
|
f3e0fd7416
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
rubidium
|
89e1afdaa0
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
16 years ago |
rubidium
|
a7693c6059
|
(svn r15425) -Codechange: some color->colour changes and type safety.
|
16 years ago |