frosch
7b553d255e
(svn r27732) -Change: Turn the message about 'missing baseset sprites' from a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
2017-01-14 18:30:26 +00:00
frosch
ad43465c31
(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not filter it by railtype by default.
2016-12-08 20:21:39 +00:00
frosch
30574a7cad
(svn r27671) -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01)
2016-10-30 17:36:57 +00:00
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
alberth
a5843149b5
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
2015-03-01 08:17:14 +00:00
frosch
c9114af706
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
2015-02-01 12:23:39 +00:00
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
2014-10-11 13:22:37 +00:00
rubidium
c72d362840
(svn r26885) -Feature-ish: user interface for limiting the maximum height of a map
2014-09-21 12:25:04 +00:00
alberth
22b967676e
(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.
2014-09-11 17:10:38 +00:00
alberth
b4a87e7f45
(svn r26805) -Feature: Allow hiding of non-interesting engines in the autoreplace GUI.
2014-09-07 16:14:38 +00:00
alberth
a49744b50c
(svn r26804) -Feature: Allow hiding of non-interesting engines in the build vehicle GUI.
2014-09-07 16:14:06 +00:00
alberth
81d2bdbf47
(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.
2014-09-07 16:11:14 +00:00
frosch
925fb7bd37
(svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo)
2014-07-16 20:38:36 +00:00
frosch
d7736e3797
(svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo)
2014-07-08 20:07:50 +00:00
frosch
06b210ff42
(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message.
2014-06-05 17:14:16 +00:00
alberth
1feba55f0f
(svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version.
2014-05-24 19:15:57 +00:00
alberth
8755c26793
(svn r26610) -Feature: Select an editable preset name for saving.
2014-05-24 19:11:20 +00:00
frosch
775c96a0d2
(svn r26526) -Remove: Ability to set map generation seed via GUI. If you really need it, use the console.
2014-04-27 15:15:28 +00:00
frosch
ebd2d3ccef
(svn r26525) -Remove: Screenshot format setting from GUI.
2014-04-27 15:13:46 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
planetmaker
9450a28090
(svn r26442) -Fix [FS#5962] Silence compiler warning by adding newline at end of file
2014-04-03 10:54:37 +00:00
alberth
75504d24bf
(svn r26320) -Add: Label for both the filter category and filter type in the advanced settings window.
2014-02-09 13:04:50 +00:00
rubidium
b1bcd1adab
(svn r26128) -Fix: erroneous cast
2013-11-26 15:12:54 +00:00
rubidium
50fdf5e30c
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
2013-11-26 13:21:25 +00:00
rubidium
2fc10b7e04
(svn r26088) -Fix (r26086): Windows compilation
2013-11-24 15:17:53 +00:00
rubidium
83eeba28b7
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
2013-11-24 14:46:26 +00:00
frosch
0aae2fd606
(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.
2013-11-07 18:17:21 +00:00
planetmaker
276c41ee1d
(svn r25828) -Doc [FS#5785]: Description of parameters for ShowDropDownMenu was partially swapped (3298)
2013-10-11 15:41:55 +00:00
frosch
dfa0e61f25
(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro)
2013-10-06 11:29:14 +00:00
zuu
4f6d19465b
(svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window was not updated when a string changed while the window is open
2013-07-21 15:59:07 +00:00
frosch
bbbecceae1
(svn r25464) -Fix: Hide default size button in non-newstation rail-station picker since it is not resizeable anyway.
2013-06-25 20:22:08 +00:00
rubidium
b860353a66
(svn r25387) -Fix: "typos" in @file filename
2013-06-09 18:58:36 +00:00
zuu
a724a9924b
(svn r25376) -Feature: Allow access to goal list and story book of other companies than your own
2013-06-09 13:37:04 +00:00
zuu
eaede14b8f
(svn r25372) -Add: Allow opening a goal list window specific to a company
2013-06-09 13:23:03 +00:00
zuu
086aae8d04
(svn r25370) -Fix: Make the prefix for widget constants unique for the goal list window
2013-06-09 13:17:20 +00:00
fonsinchen
0fc198cb00
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
2013-06-09 13:08:52 +00:00
zuu
a2d84868e7
(svn r25344) -Feature: GUI for viewing story pages
2013-06-09 12:48:27 +00:00
zuu
059eee93fc
(svn r25331) -Fix (r25263): Update ScriptWindow with link graph widgets
2013-06-08 12:37:36 +00:00
zuu
a4cddc3e08
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
2013-05-26 19:54:43 +00:00
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
2013-05-26 19:25:01 +00:00
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
2013-05-26 19:23:42 +00:00
rubidium
9aae00cc87
(svn r25270) -Fix: @file wrong for link_graph_legend_widget.h
2013-05-20 13:37:59 +00:00
rubidium
ef7befdbd8
(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)
2013-05-19 14:49:25 +00:00
rubidium
163dfdd34a
(svn r25262) -Feature: linkgraph overlay for smallmap
2013-05-19 14:36:35 +00:00
alberth
15ec6e26f0
(svn r25094) -Feature: Introduce dropdown for selecting the sort criterion in the town directory window (sbr)
2013-03-17 15:41:40 +00:00
frosch
1b10910af6
(svn r25024) -Feature: Searching of (missing) content via GrfCrawler.
2013-02-18 19:30:24 +00:00
rubidium
3d7860e0a5
(svn r24997) -Change: Use dropdown list to select between Default/Days/Percentage (peter1138)
2013-02-14 17:11:42 +00:00
rubidium
369a6f9d1b
(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138)
2013-02-14 17:06:49 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
c4c3d00578
(svn r24862) -Add: Settings type filter to adv. settings GUI.
2012-12-26 17:47:02 +00:00
frosch
647ee0de64
(svn r24842) -Remove: News settings window.
2012-12-23 21:06:37 +00:00
frosch
ff6880f9dd
(svn r24791) -Remove: Difficulty settings window.
2012-12-05 19:37:15 +00:00
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
frosch
507de921c2
(svn r24769) -Feature [FS#3852]: Add a string filter to the server list. (Eagle_rainbow)
2012-11-27 21:35:52 +00:00
alberth
fb892f4b20
(svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window.
2012-11-25 15:24:02 +00:00
frosch
06054d7a9d
(svn r24750) -Cleanup: Remove old special clear filter button from signs list.
2012-11-14 22:51:05 +00:00
frosch
7699a7dc06
(svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes.
2012-11-13 21:46:58 +00:00
frosch
d1c17394ec
(svn r24663) -Codechange: Unify the naming of widget enums.
2012-11-05 19:45:45 +00:00
yexo
23054a3ab5
(svn r24647) -Feature: add new filter option to the advanced settings window to show only changed settings (Eagle_rainbow)
2012-10-29 19:53:13 +00:00
frosch
2d550a7579
(svn r24632) -Feature: Add text filtering to advanced settings.
2012-10-27 15:26:17 +00:00
frosch
716014c410
(svn r24631) -Feature: Add buttons to expand/collapse all to advanced settings GUI.
2012-10-27 15:25:57 +00:00
yexo
053770d4a6
(svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the online content window (LordAro)
2012-08-20 21:03:50 +00:00
frosch
88fff21b93
(svn r24308) -Add: ShowDropDownListAt() for drawing dropdown windows independent of dropdown widgets.
2012-06-01 10:43:50 +00:00
frosch
6207a6017f
(svn r24307) -Codechange: Move all interaction of the dropdown window with widgets of the parent window to a method of the parent window.
2012-06-01 10:42:46 +00:00
alberth
0db235aa1d
(svn r24237) -Feature: Descriptions explaining the meaning of advanced settings.
2012-05-12 10:13:03 +00:00
frosch
cd50c86294
(svn r24178) -Fix [FS#5110]: The object name from property A was not displayed in the object GUI.
2012-04-24 20:01:34 +00:00
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
2012-04-17 19:44:02 +00:00
michi_cc
aa47d6c7f2
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
2012-04-17 19:43:18 +00:00
frosch
161b6c348b
(svn r24037) -Feature: Allow display of baseset textfiles. (LordAro)
2012-03-17 15:45:37 +00:00
michi_cc
f2c694c8fb
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
2012-02-14 17:04:06 +00:00
rubidium
6356178a25
(svn r23936) -Feature [FS#5047]: readme/licence/changelog viewer for AI and game scripts (LordAro)
2012-02-12 10:58:18 +00:00
rubidium
e8dbcf9043
(svn r23932) -Codechange: split the NewGRF text window into its own source files
2012-02-12 10:32:41 +00:00
rubidium
d99eb6aac2
(svn r23853) -Fix: several incorrect @files
2012-01-25 22:10:14 +00:00
rubidium
9f162e7115
(svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question window's title from a (small) set of options
2012-01-21 12:03:55 +00:00
frosch
fa0949577e
(svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited.
2012-01-05 20:03:15 +00:00
truebrain
ecb725b34b
(svn r23738) -Fix (r23731): forgot to sync the new window with the script API
2012-01-03 20:38:41 +00:00
rubidium
e40eb8177a
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
2012-01-03 20:26:05 +00:00
truebrain
34d90da509
(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17
2012-01-03 16:36:24 +00:00
alberth
4af8c2d5e1
(svn r23704) -Doc: Doxygen comment fixes and additions.
2012-01-01 17:22:32 +00:00
truebrain
3ada3b9cc5
(svn r23630) -Add: a Goal GUI to show your current goals
2011-12-19 21:03:17 +00:00
truebrain
5718c2e2e3
(svn r23607) -Add: wire GameScript in all the GUIs
2011-12-19 20:56:06 +00:00
truebrain
bcbdc3933c
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
2011-12-19 20:46:17 +00:00
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
2011-12-19 17:48:04 +00:00
truebrain
ed816477ec
(svn r23562) -Codechange: don't be lazy with the spacebar
2011-12-16 19:09:26 +00:00
truebrain
1d4eeb063e
(svn r23561) -Codechange: forgot to document 1 widget enum
2011-12-16 19:08:39 +00:00
truebrain
20a7276510
(svn r23560) -Codechange: final pieces of consistency through widgets
2011-12-16 18:57:27 +00:00
planetmaker
6bbae674b8
(svn r23559) -Codechange: Document and name consistently road build widgets
2011-12-16 18:52:15 +00:00
rubidium
ff4bfded7a
(svn r23558) -Fix (r23556): ctrl-z too few ;)
2011-12-16 18:47:46 +00:00
rubidium
95642f956f
(svn r23556) -Codechange: unify rail widget naming and document them
2011-12-16 18:43:38 +00:00
truebrain
7e0df0aeb3
(svn r23555) -Fix (r23554): save before commit
2011-12-16 18:43:36 +00:00
truebrain
7b80b821ff
(svn r23554) -Codechange: some minor consistency fixes
2011-12-16 18:42:20 +00:00
truebrain
bcf00dbb8f
(svn r23553) -Fix: avoid naming conflict in widget enums
2011-12-16 18:33:02 +00:00
truebrain
6d0673f0c1
(svn r23552) -Codechange: unify naming of the news widgets
2011-12-16 18:32:57 +00:00
truebrain
e4887d4dc4
(svn r23551) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:27:50 +00:00
rubidium
bdb6280e79
(svn r23550) -Codechange: unify naming of the on screen keyboard widgets
2011-12-16 18:27:39 +00:00
planetmaker
365bf148b5
(svn r23549) -Codechange: Document and consistently name widgets of order GUI
2011-12-16 18:25:06 +00:00
rubidium
1470e41fe4
(svn r23548) -Codechange: unify and document toolbar widgets
2011-12-16 18:23:35 +00:00
truebrain
e2726ca3f1
(svn r23547) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:21:13 +00:00
truebrain
9266bde593
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:14:11 +00:00
planetmaker
985d178c37
(svn r23545) -Codechange: Consistently name widgets in build object window
2011-12-16 18:06:16 +00:00
truebrain
e2d8abeec5
(svn r23544) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:02:27 +00:00
planetmaker
78ca3e3358
(svn r23543) -Codechange: Document and name consistently widgets of NewGRF window
2011-12-16 17:46:47 +00:00
rubidium
2988509dd0
(svn r23542) -Codechange: unify and document town related widgets
2011-12-16 17:23:41 +00:00
planetmaker
7c7bd7fe86
(svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window
2011-12-16 17:15:40 +00:00
rubidium
4de1f3be88
(svn r23540) -Codechange: unify and document vehicle widgets
2011-12-16 16:58:55 +00:00
rubidium
b8640b986f
(svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details
2011-12-16 16:57:56 +00:00
planetmaker
5ade484ce4
(svn r23538) -Codechange: Consistent naming of widgets in tree plant gui
2011-12-16 16:57:15 +00:00
truebrain
219393ba5f
(svn r23537) -Fix (r23529): typo in the word 'because' (tnx to Alberth for noticing)
2011-12-16 16:53:16 +00:00
truebrain
05af1d176b
(svn r23536) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 16:49:53 +00:00
planetmaker
4453288f3f
(svn r23535) -Codechange: unify widget naming of transparency toolbar
2011-12-16 16:42:04 +00:00
truebrain
cb8e37197d
(svn r23534) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 16:39:48 +00:00
truebrain
f578edd3bc
(svn r23533) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 16:32:48 +00:00
rubidium
b6a303387c
(svn r23532) -Codechange: unify widget naming of (extra) viewport
2011-12-16 16:29:53 +00:00
truebrain
e9f584ac21
(svn r23531) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 16:27:45 +00:00
rubidium
b90aa80e77
(svn r23530) -Codechange: begin unify the naming of widgets and add comments to them, in this case the waypoint view widgets
2011-12-16 16:25:34 +00:00
truebrain
98d3f11d45
(svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile
2011-12-16 16:23:50 +00:00
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
2011-12-15 22:22:55 +00:00
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
2011-12-15 19:54:23 +00:00
peter1138
30d9de9db5
(svn r23018) -Fix (r14004): Pass bottom of dropdown item rather than bottom of dropdown window.
2011-10-11 13:13:20 +00:00
peter1138
50d1541270
(svn r23017) -Codechange: Add support for resized scrollbars.
2011-10-11 08:07:47 +00:00
yexo
ad232bd497
(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)
2011-09-15 13:26:27 +00:00
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
2011-05-06 21:13:29 +00:00
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
2011-05-04 17:45:16 +00:00
rubidium
46c242b1dc
(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h.
2011-04-30 14:24:23 +00:00
frosch
ea1ca5bf1e
(svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used as comparator function in DropDownList::sort().
2011-04-10 15:01:14 +00:00
frosch
18f0add50a
(svn r22310) -Codechange: Derive DropDownListCharStringItem from DropDownListStringItem.
2011-04-10 14:56:14 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
frosch
d01e275a25
(svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, when issueing them from the menu.
2010-10-24 20:23:45 +00:00
frosch
28048826f8
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
2010-08-12 11:53:11 +00:00
frosch
9e538acc03
(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
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.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
5e4ec72ce6
(svn r19883) -Fix [FS#3812]: dropdowns did affect positioning of new windows because they were not yet removed when the new windows were positioned
2010-05-22 19:04:56 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
peter1138
07b285c5ca
(svn r18932) -Codechange: Don't constantly redraw drop drop list.
2010-01-28 02:30:59 +00:00
rubidium
82fc28f77f
(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
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
2009-11-28 20:35:25 +00:00
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
b58b058e2b
(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that
2009-11-28 14:36:43 +00:00
frosch
a37ca47882
(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).
2009-11-27 16:18:03 +00:00
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
rubidium
30f7483f9c
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
2009-11-19 18:01:24 +00:00
rubidium
76a5f4f8cd
(svn r18164) -Change: make dropdown 'right' align to the opening widget with RTL
2009-11-18 12:31:09 +00:00
rubidium
5f2ddfbc5a
(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
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
2009-11-15 13:36:30 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
alberth
c341673cd5
(svn r17998) -Fix (r17994): Use a consistent item list width.
2009-11-07 17:45:49 +00:00
alberth
0bc03c25f4
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
2009-11-07 17:24:04 +00:00
alberth
3ae1b98d3a
(svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets.
2009-11-07 14:40:37 +00:00
alberth
d03bf874fc
(svn r17993) -Codechange: Move widget and data initialization into the dropdown menu class.
2009-11-07 11:44:38 +00:00
alberth
81796f10e5
(svn r17992) -Codechange: Merge some parameters of the dropdown menu.
2009-11-07 11:26:23 +00:00
alberth
61576c3184
(svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu window.
2009-11-07 10:26:09 +00:00
alberth
7dd10a684d
(svn r17990) -Codechange: Add widgets enum for dropdown menu window.
2009-11-07 08:41:34 +00:00
alberth
726edbf3c0
(svn r17944) -Codechange (r11848): Removed the second counter variable that ran in sync with the first one.
2009-11-01 21:05:48 +00:00
alberth
bd5fd95e5c
(svn r17942) -Documentation: Add a few doxygen comments to the dropdown code.
2009-11-01 20:50:00 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
alberth
8d7498b82c
(svn r17575) -Codechange: Adding a new combined button+dropdown widget.
2009-09-19 13:08:37 +00:00
alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
2009-09-19 11:31:12 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
a34d19e9df
(svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty.
2009-09-07 07:59:26 +00:00
rubidium
5cb22df0f5
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
2009-09-02 08:58:20 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
alberth
4eb155ccfb
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
2009-08-14 18:41:03 +00:00
alberth
c94c18fc0a
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
2009-07-12 10:02:10 +00:00
alberth
34066a6027
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
2009-05-04 18:42:49 +00:00
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.
2009-04-21 23:40:56 +00:00
peter1138
f30f5607e3
(svn r15877) -Codechange: Let drop down lists know about font height.
2009-03-28 12:47:29 +00:00
rubidium
93fe44a3c5
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
2009-03-21 19:31:47 +00:00
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
2009-02-09 01:06:23 +00:00
peter1138
77760a62fd
(svn r15387) -Codechange: Add a drop down list item type for char* strings.
2009-02-07 00:37:35 +00:00
peter1138
aad67b5736
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-02-01 22:32:07 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
rubidium
2490f8f471
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
2009-01-06 23:19:59 +00:00
glx
c7959ce2a9
(svn r14840) -Cleanup: remove duplicate includes
2009-01-04 21:02:59 +00:00
peter1138
cf52b683c0
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
2008-08-25 16:07:10 +00:00
peter1138
3c2f69bf62
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
2008-08-07 18:26:13 +00:00
peter1138
6bae045b4a
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
2008-08-07 18:11:09 +00:00
peter1138
98d3d86004
(svn r14004) -Codechange: Clean of drop down lists.
...
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
2008-08-06 07:10:40 +00:00
belugas
96892e081a
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
2008-08-03 02:18:45 +00:00
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
2008-05-27 21:41:00 +00:00
peter1138
88f2ef652e
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
2008-05-26 21:40:52 +00:00
rubidium
6da56ee87e
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
2008-05-18 20:40:30 +00:00
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
2008-05-17 12:48:06 +00:00
peter1138
9fa2e849f2
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
2008-05-13 21:11:38 +00:00
rubidium
5924346697
(svn r13052) -Codechange: make a class of the DropdownWindow.
2008-05-11 18:18:18 +00:00
rubidium
d24442ae8b
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
2008-05-10 13:46:36 +00:00
rubidium
2eef026fe3
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
2008-05-08 11:31:41 +00:00
rubidium
e6c944a6c4
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
2008-05-06 21:28:30 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
cb680474c3
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
2008-05-04 10:05:50 +00:00
peter1138
447a31b702
(svn r12675) -Codechange: Add support for custom drawing of drop down list items.
2008-04-12 22:12:27 +00:00
peter1138
711909fa0c
(svn r12672) -Codechange: Add support for variably-sized drop down list items.
2008-04-12 20:32:18 +00:00
peter1138
63116691a9
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
2008-04-10 11:59:18 +00:00
rubidium
2ac6af4e48
(svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes.
2008-04-09 23:00:12 +00:00
rubidium
ee02dd7dad
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
2008-04-07 20:28:58 +00:00
peter1138
9f6fd72c09
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
2008-02-12 12:54:51 +00:00
peter1138
02c9484ebb
(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed
2008-01-19 11:08:06 +00:00
peter1138
c313676c66
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
2008-01-17 18:09:15 +00:00
peter1138
ab7cb0804d
(svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list.
2008-01-15 16:30:08 +00:00
peter1138
932c586dfe
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
2008-01-15 13:20:58 +00:00
peter1138
2723128ba9
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
2008-01-15 08:14:22 +00:00
rubidium
c1108bd293
(svn r11857) -Fix: some compile time warnings.
2008-01-15 00:48:14 +00:00
peter1138
1bcca5aae2
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
2008-01-14 20:52:43 +00:00
peter1138
bf0a7ae4fb
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
2008-01-14 16:35:49 +00:00
peter1138
e4c05f8d78
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-14 16:10:58 +00:00