Commit Graph

300 Commits

Author SHA1 Message Date
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