summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2021-05-29Fix f6d5c01: Delay deletion when closing windowsglx22
2021-05-12Codechange: make Window destruction not rely on undefined behavior.frosch
2021-05-12Codechange: use IterateFromBack/Front only if the order is important.frosch
Use Iterate if the order does not matter.
2021-05-12Codechange: use iterators instead of 'subranges' when iterating from a ↵frosch
specific window. Using iterators makes it easier to include or exclude the start window in the iteration.
2021-05-12Codechange: remove excessive templating in favour of a single const_cast.frosch
The const_cast will be removed again in a later commit.
2021-04-29Codechange: Replace window related FOR_ALL with range-based for loopsglx22
2021-04-22Codechange: Add widget text colour override property.Peter Nelson
2021-04-22Codechange: Add internal widget alignment property, along with widget part.Peter Nelson
2021-04-08Fix: Viewport drag tooltips not being removed when dragging over other windowsJonathan G Rennison
2021-01-10Fix: Don't use a timer for hundredth tick determinationglx
2020-12-27Feature: Plant clumps of trees in editor by dragging on the landscapeNiels Martin Hansen
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-11-10Codechange: Add EditBoxGainedFocus method to VideoDriver base classJonathan G Rennison
2019-04-13Fix 801cbea9c: operator< is not always the best ideaglx
Also removes unused and anyway broken SmallMap::SortByKey() function.
2019-04-13Codechange: use std::sort() for all std::vector typesglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-20Codechange: Implement OnTooltip event for custom window tooltips.peter1138
This avoids windows from needing to know or care about tooltip delay settings.
2019-03-20Fix #7386: Measurement tooltip for tunnels, aqueducts & docks did not ↵peter1138
display or flickered. Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly closing the tooltip when the PlaceObject is cancelled/completed.
2019-02-21Codechange: Change scrolling_scrollbar to mouse_capture_widget, and dispatch ↵Peter Nelson
OnClick() event if widget is not a scrollbar. This allows any widget to support mouse capture.
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2015-02-13(svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI ↵frosch
zoom.
2015-02-13(svn r27146) -Fix: Make statusbar and chat-entry window use the same width ↵frosch
as the toolbar. Otherwise they lack a size definition.
2014-12-18(svn r27085) -Fix: Always return a valid window to the world generation gui ↵alberth
code.
2014-12-18(svn r27084) -Doc: Improve documentation of AllocateWindowDescFront.alberth
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2013-10-13(svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown ↵frosch
arrow of dropdown widgets.
2013-08-05(svn r25692) -Add: Replacement of a part of the edit box text with a new string.michi_cc
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25690) -Change: [OSX] Position the candidate window at the caret position.michi_cc
2013-08-05(svn r25689) -Add: [OSX] Display the IME composition string ourself.michi_cc
2013-08-05(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.michi_cc
2013-08-05(svn r25681) -Change: [Win32] Position the IME composition window at the ↵michi_cc
caret position.
2013-08-05(svn r25679) -Codechange: [Win32] Get the result string of an IME input ↵michi_cc
directly without a trip through the window messaging system.
2013-08-05(svn r25678) -Codechange: Notify the video driver when an edit box lost ↵michi_cc
(global) focus so it can abort any current input composition.
2013-08-05(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.michi_cc
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-15(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.frosch
2013-06-15(svn r25411) -Add: Window::OnHotkeyfrosch
2013-06-15(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since ↵frosch
they register in static vectors.
2013-05-26(svn r25295) -Feature: Allow saving window sizes as default sizes.frosch
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the ↵frosch
sticky button.
2013-05-26(svn r25291) -Add: WindowDesc ability to load and store information in a ↵frosch
config file.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25288) -Codechange: No need to copy the WindowDesc flags if the ↵frosch
WindowDesc is directly accessible.
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)