Commit Graph

113 Commits

Author SHA1 Message Date
rubidium
2052561c2e (svn r23240) -Codechange: rework the code of the download status window 2011-11-17 21:06:41 +00:00
rubidium
023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 2011-11-14 21:40:39 +00:00
rubidium
4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 2011-11-14 21:30:37 +00:00
rubidium
ee0fd02d17 (svn r23179) -Codechange: use some tooltips that already existed (monoid) 2011-11-10 17:55:52 +00:00
rubidium
fea42cd52b (svn r22829) -Codechange: unify the dirtying of windows after an AI scan 2011-08-24 16:38:09 +00:00
rubidium
54f52a26a4 (svn r22793) -Codechange: remove callback default to make clear they are not forgotten 2011-08-21 12:51:18 +00:00
rubidium
afe407322d (svn r22771) -Codechange: unify some NewGRFScan calling code 2011-08-20 17:46:03 +00:00
frosch
1322d59aaa (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 2011-07-02 12:49:44 +00:00
frosch
7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
rubidium
1ef751e855 (svn r22423) -Document: some network stuff 2011-05-04 20:24:23 +00:00
frosch
7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
rubidium
87898b5395 (svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice 2011-03-06 10:11:59 +00:00
terkhen
64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
alberth
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
59b6c9a85e (svn r21248) -Codechange: don't run the tar scanner twice upon startup 2010-11-18 22:27:15 +00:00
rubidium
cc5fd40a74 (svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all 2010-11-18 22:24:10 +00:00
frosch
2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch
4817d5dcd6 (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.
2010-08-12 08:37:01 +00:00
frosch
341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
terkhen
c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth
a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
rubidium
a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium
04fbf762fb (svn r19262) -Feature: finalise BaNaNaS support for music sets 2010-02-26 00:00:55 +00:00
smatz
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
frosch
c45c274daa (svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical. 2010-01-30 17:42:04 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
smatz
f6177d9708 (svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
-Revert (r18637): it's not needed any more
2009-12-26 13:49:14 +00:00
rubidium
0946fd974f (svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it 2009-12-26 09:01:28 +00:00
alberth
f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
rubidium
2d249b9946 (svn r18493) -Fix: don't access something after deleting it 2009-12-13 21:36:10 +00:00
rubidium
86529556b1 (svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled 2009-12-04 14:23:54 +00:00
rubidium
21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
fe1dcdd635 (svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should 2009-11-25 17:48:44 +00:00
rubidium
50359b2d08 (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
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium
845de0aac1 (svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height 2009-11-22 19:27:51 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth
8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium
8e11cd3a42 (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
peter1138
d720ceb2e1 (svn r18146) -Codechange: Improve content download window scaling and offsets for different font size 2009-11-17 17:51:44 +00:00
rubidium
a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
peter1138
cfcd6c13f3 (svn r18103) -Codechange: Base content window detail title height on font height. 2009-11-15 18:39:22 +00:00
rubidium
bb5a43e609 (svn r18099) -Codechange: scale the edit boxes to the fontsize 2009-11-15 15:37:37 +00:00
rubidium
e53f9d1885 (svn r18094) -Codechange: make the network content GUI work better with RTL 2009-11-15 14:01:45 +00:00