Commit Graph

327 Commits (131b7f5127d44bbf69d499e3bb90e6688d97e63b)

Author SHA1 Message Date
peter1138 aafce47596 Codechange: Use override specifier for DropDownListItem classes. 6 years ago
peter1138 b56ea5ca27 Add: Generic drop down list string item with icon. 6 years ago
peter1138 fb35cb5ed2 Remove: Unnecessary virtual destructors on drop down list items. 6 years ago
peter1138 811bf22620 Codechange: Use Colours type instead of byte. 6 years ago
Niels Martin Hansen 13962a8475 Change: Framerate window can now scroll and resize 6 years ago
Peter Nelson fde5bd0ccf Change: Add scrollbar to cargo legend in cargo payment rates window. 6 years ago
Greg Carlin 00d28a500d Feature: Add option to adjust font size separately from GUI size. (#7003)
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
6 years ago
PeterN 23960d0f2c Feature: Group liveries, and livery window usability enhancements. (#7108)
* Change: Replace checkbox in livery selection window with Default option in drop down selection.

This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired.

* Feature: Add vehicle group liveries.
6 years ago
J0an Josep 628af2fabc Fix #6060: When opening a scrollable dropdown above a widget, scroll it to its very bottom.
This "prevents" the fast movement towards the bottom when holding down the mouse button.
6 years ago
Juanjo 226dbcb422 Codechange #6060: Allow drawing dropdown lists with scrollbars above the widgets 6 years ago
PeterN 5ff0c24993 Fix #6780: Some windows didn't get updated from OnTick() (#7048) 6 years ago
damfr 868c6f924a Add: Filter box to the save and load windows (#6974)
Save and heightmap names can be filtered.
6 years ago
Charles Pigott f5b1115039 Doc: Lots and lots of doxymentation fixes 6 years ago
J0an Josep 8975318286 Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation. 6 years ago
Joan Josep 944f785be8 Fix: Spelling errors (#6769) 7 years ago
Niels Martin Hansen 19f5a6cbb0 Feature #6090: Change music set during gameplay 7 years ago
peter1138 19d56a33e8 (svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (mtm, JGR) 8 years ago
peter1138 902663176d (svn r27820) -Fix: Allow dropdown to be drawn above origin widget even with scrollbar (Juanjo) 8 years ago
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. 8 years ago
frosch ad43465c31 (svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not filter it by railtype by default. 8 years ago
frosch 30574a7cad (svn r27671) -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01) 8 years ago
michi_cc 2b8bb12d62 (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists. 9 years ago
alberth a5843149b5 (svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1). 10 years ago
frosch c9114af706 (svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus. 10 years ago
rubidium d534c80e94 (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 10 years ago
peter1138 253c91b17d (svn r26990) -Feature: Add option to choose normal, double or quad-size interface. 10 years ago
rubidium c72d362840 (svn r26885) -Feature-ish: user interface for limiting the maximum height of a map 10 years ago
alberth 22b967676e (svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name. 10 years ago
alberth b4a87e7f45 (svn r26805) -Feature: Allow hiding of non-interesting engines in the autoreplace GUI. 10 years ago
alberth a49744b50c (svn r26804) -Feature: Allow hiding of non-interesting engines in the build vehicle GUI. 10 years ago
alberth 81d2bdbf47 (svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI. 10 years ago
frosch 925fb7bd37 (svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo) 10 years ago
frosch d7736e3797 (svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo) 10 years ago
frosch 06b210ff42 (svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message. 10 years ago
alberth 1feba55f0f (svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version. 11 years ago
alberth 8755c26793 (svn r26610) -Feature: Select an editable preset name for saving. 11 years ago
frosch 775c96a0d2 (svn r26526) -Remove: Ability to set map generation seed via GUI. If you really need it, use the console. 11 years ago
frosch ebd2d3ccef (svn r26525) -Remove: Screenshot format setting from GUI. 11 years ago
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 11 years ago
planetmaker 9450a28090 (svn r26442) -Fix [FS#5962] Silence compiler warning by adding newline at end of file 11 years ago
alberth 75504d24bf (svn r26320) -Add: Label for both the filter category and filter type in the advanced settings window. 11 years ago
rubidium b1bcd1adab (svn r26128) -Fix: erroneous cast 11 years ago
rubidium 50fdf5e30c (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 11 years ago
rubidium 2fc10b7e04 (svn r26088) -Fix (r26086): Windows compilation 11 years ago
rubidium 83eeba28b7 (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns 11 years ago
frosch 0aae2fd606 (svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain. 11 years ago
planetmaker 276c41ee1d (svn r25828) -Doc [FS#5785]: Description of parameters for ShowDropDownMenu was partially swapped (3298) 11 years ago
frosch dfa0e61f25 (svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro) 11 years ago
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 11 years ago
frosch bbbecceae1 (svn r25464) -Fix: Hide default size button in non-newstation rail-station picker since it is not resizeable anyway. 11 years ago
rubidium b860353a66 (svn r25387) -Fix: "typos" in @file filename 11 years ago
zuu a724a9924b (svn r25376) -Feature: Allow access to goal list and story book of other companies than your own 11 years ago
zuu eaede14b8f (svn r25372) -Add: Allow opening a goal list window specific to a company 11 years ago
zuu 086aae8d04 (svn r25370) -Fix: Make the prefix for widget constants unique for the goal list window 11 years ago
fonsinchen 0fc198cb00 (svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI 11 years ago
zuu a2d84868e7 (svn r25344) -Feature: GUI for viewing story pages 11 years ago
zuu 059eee93fc (svn r25331) -Fix (r25263): Update ScriptWindow with link graph widgets 11 years ago
zuu a4cddc3e08 (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 12 years ago
frosch 8157a8afd8 (svn r25290) -Add: Assign string names to notable windows. 12 years ago
frosch 56e4a8c4d6 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 12 years ago
rubidium 9aae00cc87 (svn r25270) -Fix: @file wrong for link_graph_legend_widget.h 12 years ago
rubidium ef7befdbd8 (svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen) 12 years ago
rubidium 163dfdd34a (svn r25262) -Feature: linkgraph overlay for smallmap 12 years ago
alberth 15ec6e26f0 (svn r25094) -Feature: Introduce dropdown for selecting the sort criterion in the town directory window (sbr) 12 years ago
frosch 1b10910af6 (svn r25024) -Feature: Searching of (missing) content via GrfCrawler. 12 years ago
rubidium 3d7860e0a5 (svn r24997) -Change: Use dropdown list to select between Default/Days/Percentage (peter1138) 12 years ago
rubidium 369a6f9d1b (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch c4c3d00578 (svn r24862) -Add: Settings type filter to adv. settings GUI. 12 years ago
frosch 647ee0de64 (svn r24842) -Remove: News settings window. 12 years ago
frosch ff6880f9dd (svn r24791) -Remove: Difficulty settings window. 12 years ago
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 12 years ago
frosch 507de921c2 (svn r24769) -Feature [FS#3852]: Add a string filter to the server list. (Eagle_rainbow) 12 years ago
alberth fb892f4b20 (svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window. 12 years ago
frosch 06054d7a9d (svn r24750) -Cleanup: Remove old special clear filter button from signs list. 12 years ago
frosch 7699a7dc06 (svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes. 12 years ago
frosch d1c17394ec (svn r24663) -Codechange: Unify the naming of widget enums. 12 years ago
yexo 23054a3ab5 (svn r24647) -Feature: add new filter option to the advanced settings window to show only changed settings (Eagle_rainbow) 12 years ago
frosch 2d550a7579 (svn r24632) -Feature: Add text filtering to advanced settings. 12 years ago
frosch 716014c410 (svn r24631) -Feature: Add buttons to expand/collapse all to advanced settings GUI. 12 years ago
yexo 053770d4a6 (svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the online content window (LordAro) 12 years ago
frosch 88fff21b93 (svn r24308) -Add: ShowDropDownListAt() for drawing dropdown windows independent of dropdown widgets. 13 years ago
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. 13 years ago
alberth 0db235aa1d (svn r24237) -Feature: Descriptions explaining the meaning of advanced settings. 13 years ago
frosch cd50c86294 (svn r24178) -Fix [FS#5110]: The object name from property A was not displayed in the object GUI. 13 years ago
michi_cc 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 13 years ago
michi_cc aa47d6c7f2 (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan) 13 years ago
frosch 161b6c348b (svn r24037) -Feature: Allow display of baseset textfiles. (LordAro) 13 years ago
michi_cc f2c694c8fb (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
rubidium 6356178a25 (svn r23936) -Feature [FS#5047]: readme/licence/changelog viewer for AI and game scripts (LordAro) 13 years ago
rubidium e8dbcf9043 (svn r23932) -Codechange: split the NewGRF text window into its own source files 13 years ago
rubidium d99eb6aac2 (svn r23853) -Fix: several incorrect @files 13 years ago
rubidium 9f162e7115 (svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question window's title from a (small) set of options 13 years ago
frosch fa0949577e (svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited. 13 years ago
truebrain ecb725b34b (svn r23738) -Fix (r23731): forgot to sync the new window with the script API 13 years ago
rubidium e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
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 13 years ago
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
truebrain 3ada3b9cc5 (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain 5718c2e2e3 (svn r23607) -Add: wire GameScript in all the GUIs 13 years ago
truebrain bcbdc3933c (svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class 13 years ago
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
truebrain ed816477ec (svn r23562) -Codechange: don't be lazy with the spacebar 13 years ago
truebrain 1d4eeb063e (svn r23561) -Codechange: forgot to document 1 widget enum 13 years ago
truebrain 20a7276510 (svn r23560) -Codechange: final pieces of consistency through widgets 13 years ago
planetmaker 6bbae674b8 (svn r23559) -Codechange: Document and name consistently road build widgets 13 years ago
rubidium ff4bfded7a (svn r23558) -Fix (r23556): ctrl-z too few ;) 13 years ago
rubidium 95642f956f (svn r23556) -Codechange: unify rail widget naming and document them 13 years ago
truebrain 7e0df0aeb3 (svn r23555) -Fix (r23554): save before commit 13 years ago
truebrain 7b80b821ff (svn r23554) -Codechange: some minor consistency fixes 13 years ago
truebrain bcf00dbb8f (svn r23553) -Fix: avoid naming conflict in widget enums 13 years ago
truebrain 6d0673f0c1 (svn r23552) -Codechange: unify naming of the news widgets 13 years ago
truebrain e4887d4dc4 (svn r23551) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
rubidium bdb6280e79 (svn r23550) -Codechange: unify naming of the on screen keyboard widgets 13 years ago
planetmaker 365bf148b5 (svn r23549) -Codechange: Document and consistently name widgets of order GUI 13 years ago
rubidium 1470e41fe4 (svn r23548) -Codechange: unify and document toolbar widgets 13 years ago
truebrain e2726ca3f1 (svn r23547) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 9266bde593 (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
planetmaker 985d178c37 (svn r23545) -Codechange: Consistently name widgets in build object window 13 years ago
truebrain e2d8abeec5 (svn r23544) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
planetmaker 78ca3e3358 (svn r23543) -Codechange: Document and name consistently widgets of NewGRF window 13 years ago
rubidium 2988509dd0 (svn r23542) -Codechange: unify and document town related widgets 13 years ago
planetmaker 7c7bd7fe86 (svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window 13 years ago
rubidium 4de1f3be88 (svn r23540) -Codechange: unify and document vehicle widgets 13 years ago
rubidium b8640b986f (svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details 13 years ago
planetmaker 5ade484ce4 (svn r23538) -Codechange: Consistent naming of widgets in tree plant gui 13 years ago
truebrain 219393ba5f (svn r23537) -Fix (r23529): typo in the word 'because' (tnx to Alberth for noticing) 13 years ago
truebrain 05af1d176b (svn r23536) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
planetmaker 4453288f3f (svn r23535) -Codechange: unify widget naming of transparency toolbar 13 years ago
truebrain cb8e37197d (svn r23534) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain f578edd3bc (svn r23533) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
rubidium b6a303387c (svn r23532) -Codechange: unify widget naming of (extra) viewport 13 years ago
truebrain e9f584ac21 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
rubidium b90aa80e77 (svn r23530) -Codechange: begin unify the naming of widgets and add comments to them, in this case the waypoint view widgets 13 years ago
truebrain 98d3f11d45 (svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile 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
peter1138 30d9de9db5 (svn r23018) -Fix (r14004): Pass bottom of dropdown item rather than bottom of dropdown window. 13 years ago
peter1138 50d1541270 (svn r23017) -Codechange: Add support for resized scrollbars. 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
frosch 5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 14 years ago
frosch 22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 14 years ago
rubidium 46c242b1dc (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 14 years ago
frosch ea1ca5bf1e (svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used as comparator function in DropDownList::sort(). 14 years ago
frosch 18f0add50a (svn r22310) -Codechange: Derive DropDownListCharStringItem from DropDownListStringItem. 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 d01e275a25 (svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, when issueing them from the menu. 14 years ago
frosch 28048826f8 (svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns. 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