michi_cc
b911f4a452
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
11 years ago
frosch
43ec0bf0c1
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
11 years ago
frosch
df732f2bae
(svn r25534) -Codechange: FinishInitNested calls OnResize, no need to setup scrollbar capacity before that.
11 years ago
frosch
98fdd20f84
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
11 years ago
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
11 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
11 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
11 years ago
planetmaker
7e4f68d275
(svn r25253) -Codechange: Rename the strings of the advertisement settings to better reflect what they do
11 years ago
frosch
579ee7a592
(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.
11 years ago
frosch
3e02890b73
(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
12 years ago
frosch
b533523258
(svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations.
12 years ago
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
frosch
4e8f3f7a99
(svn r24770) -Fix-ish: Calling GUIList::Sort repeatedly has no use without GUIList::NeedResort since the latter has the sideeffects.
12 years ago
frosch
507de921c2
(svn r24769) -Feature [FS#3852]: Add a string filter to the server list. (Eagle_rainbow)
12 years ago
frosch
b884195400
(svn r24768) -Fix: Adjust a comment to reflect some more truth.
12 years ago
frosch
9aeeb5acb9
(svn r24767) -Codechange: Remove some fragile hacks from the multiplayer list who tried to disguised themself as optimisations.
12 years ago
frosch
f5d8ba5d7f
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
12 years ago
frosch
6e6d94a2d1
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
12 years ago
frosch
f6d4200f86
(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.
12 years ago
frosch
f2221e8b89
(svn r24736) -Cleanup: The third parameter of Textbuf::Initialize only makes sense if it is smaller than the second one, also its unit is not pixels.
12 years ago
frosch
2c22fe98dd
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
12 years ago
frosch
c4d7c8dd42
(svn r24733) -Codechange: Move handling of editbox keys to window class.
12 years ago
frosch
7699a7dc06
(svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes.
12 years ago
frosch
fd55399167
(svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members.
12 years ago
frosch
6d1fe626f5
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
12 years ago
frosch
1071d51508
(svn r24727) -Fix: In various windows the OSK looked shiny but using it had no effect whatsoever.
12 years ago
frosch
137adb3496
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
12 years ago
frosch
2614ed18f9
(svn r24725) -Cleanup: Remove old editbox focus code which is already handled more generally.
12 years ago
frosch
17025fa6ea
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
7e57e8692a
(svn r24335) -Fix: The cursor in the company password window was not blinking due to wrong magic constants (same as r17539).
12 years ago
frosch
d58eee1e79
(svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions.
12 years ago
rubidium
1adb9a5c85
(svn r24070) -Fix [FS#5098]: the 'last joined' server was not properly selected anymore (adf88)
12 years ago
rubidium
f2f939906e
(svn r24069) -Fix (r24062): crash when not having a valid last joined address
12 years ago
rubidium
357843378f
(svn r24062) -Fix [FS#5097]: immediately start querying the last joined server instead of waiting for the requery loop (adf88)
12 years ago
rubidium
446758872c
(svn r23906) -Codechange: replace magic numbers with named constants (adf88)
13 years ago
rubidium
89ab59f0cb
(svn r23787) -Fix: add some missing spaces
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6ed84aff8d
(svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name
13 years ago
rubidium
9a921fd0ae
(svn r23709) -Feature-ish: try harder to sort text instead of fancy characters in the server names
13 years ago
rubidium
1a6d352b92
(svn r23692) -Fix: use smallest_x of your children only when you let the children update it
13 years ago
truebrain
f27b7e2a78
(svn r23691) -Fix: signed/unsigned issues, causing asserts for some languages in relation to the serverlist
13 years ago
truebrain
561b25d031
(svn r23601) -Fix: fix the conflict in window number
13 years ago
frosch
4e4a87bd3c
(svn r23579) -Fix (r23525): Most up/down arrows stopped working.
13 years ago
truebrain
e2d8abeec5
(svn r23544) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
truebrain
df0afdf0dc
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
rubidium
b231e80125
(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
13 years ago
yexo
dcba6c25ea
(svn r23465) -Feature [FS#4827]: add 'find missing content online' button to 'load savegame' and 'find network game' windows
13 years ago
rubidium
aa668ba6bd
(svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name
13 years ago
peter1138
50d1541270
(svn r23017) -Codechange: Add support for resized scrollbars.
13 years ago
planetmaker
74f6813a55
(svn r23011) -Fix [FS#4791]: When the last used server is deleted from the list also clear the last used server if it is the same (monoid)
13 years ago
yexo
ad232bd497
(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)
13 years ago
rubidium
36e887591b
(svn r22696) -Fix: don't requery the servers when the server list window isn't opened
13 years ago
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
13 years ago
rubidium
c4aa943aaa
(svn r22424) -Document: some more bits
13 years ago
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
13 years ago
rubidium
caf02450fb
(svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses
13 years ago
rubidium
bc9a803ea9
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
13 years ago
rubidium
393fb8e46b
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
13 years ago
rubidium
2802c742a4
(svn r22360) -Codechange: use globally unique client id to mark the selected client instead of the position in the client list
13 years ago
rubidium
2f9b6156ee
(svn r22359) -Codechange: pass client info pointers instead of the position to the client popup list's callbacks
13 years ago
rubidium
835ae31f45
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
13 years ago
smatz
e2d5ce1b0e
(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box
13 years ago
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
13 years ago
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
13 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
13 years ago
rubidium
1a5087be69
(svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling
14 years ago
rubidium
5f7439a00f
(svn r22030) -Cleanup: dead code in NetworkGameWindow::OnInvalidateData (adf88)
14 years ago
rubidium
62e5afcdf8
(svn r21918) -Fix [FS#4443]: Languages improperly sorted in the "start server" window (adf88)
14 years ago
rubidium
cc8da3e5ab
(svn r21892) -Fix [FS#4421]: only some scenarios from the main scenario folder and no heightmaps could be started in the "start server" window
14 years ago
rubidium
795a528328
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
98df56d032
(svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client
14 years ago
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
frosch
3972c790c2
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
14 years ago
rubidium
515edee17c
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
14 years ago
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
yexo
9a05f8004b
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
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
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
alberth
604e56adc2
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
14 years ago
yexo
9683b87466
(svn r20012) -Fix: when joining a company with a password you could only enter 20 characters of the password
14 years ago
rubidium
876eb5ee0b
(svn r19998) -Codechange: Unify the order of ship and plane icon in network-lobby with the rest of the game (frosch)
14 years ago
rubidium
99a11badaf
(svn r19996) -Codechange: Add NetworkVehicleType enum.
14 years ago
smatz
80fd67a314
(svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work
14 years ago
smatz
11d6e21c3a
(svn r19607) -Codechange: use different packet types instead of packet subtypes
14 years ago
smatz
d2dc3a2e2b
(svn r19606) -Codechange: remove global variable pw_type
14 years ago
yexo
a9c8dbc0a0
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
frosch
f9cebfcfc4
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
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
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
15 years ago
rubidium
0cb84effc8
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
15 years ago
alberth
1d7a75032f
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
cf2349ae10
(svn r18578) -Feature: initially select the last joined server when going to the server list
15 years ago
frosch
a12d91423b
(svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it.
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
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
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
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
rubidium
29c65215ed
(svn r18251) -Codechange: make the join status window big font aware
15 years ago
rubidium
3a16e0edf1
(svn r18249) -Codechange: make the network client list big font aware
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
alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
15 years ago
rubidium
2332034822
(svn r18219) -Fix: the up/down buttons in the start network server window didn't work anymore
15 years ago
rubidium
206c01a4e5
(svn r18218) -Codechange: make a few network windows big font aware
15 years ago
rubidium
8204f226f1
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
alberth
777d5ce12e
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
15 years ago
rubidium
8bb9d7026f
(svn r18175) -Codechange: make the network lobby and client list RTL aware
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
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
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
rubidium
16c2e53191
(svn r18078) -Codechange: remove some duplicate (non translatable) strings
15 years ago
rubidium
9976da168e
(svn r17958) -Codechange: make the join progress window nested
15 years ago
rubidium
56611d13db
(svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/
15 years ago
rubidium
8382b41420
(svn r17954) -Codechange: make the network client list nested
15 years ago
rubidium
27218dff08
(svn r17952) -Codechange: make the network client list popup nested
15 years ago
rubidium
b1f906e819
(svn r17951) -Codechange: simplify making the popup list, remove arbirary limitations and unused code/strings.
15 years ago
rubidium
44013ba889
(svn r17948) -Codechange: remove some magic numbers from the network client list GUIs / use ResizeWindow instead of custom resize code.
15 years ago
rubidium
148d9b8e38
(svn r17946) -Codechange: move the widget definition of the client list closer to the window
15 years ago
rubidium
8cb8f81662
(svn r17905) -Codechange: make the network server list window nested (and increase the default size slightly)
15 years ago
rubidium
4fd74e2f94
(svn r17887) -Codechange: remove some (now) unneeded {SKIP}s
15 years ago
rubidium
7b46503dfc
(svn r17886) -Codechange: make the 'start server' window nested
15 years ago
rubidium
62f42f2131
(svn r17885) -Codechange: make the network lobby window nested
15 years ago
rubidium
fc741b3334
(svn r17884) -Codechange: remove (most) magic numbers from drawing the details of the network lobby and split detail drawing to its own function
15 years ago
rubidium
e61008b599
(svn r17882) -Codechange: make the code to draw the details in the server list a seperate function and remove some magic numbers
15 years ago
rubidium
22db089c0d
(svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable
15 years ago
rubidium
fac3655a4c
(svn r17876) -Codechange: make the network company password window nested
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
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago