summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
AgeCommit message (Collapse)Author
2021-05-08Fix: Apply unscaled padding to Viewport inside WWT_INSET. (#9219)PeterN
Since pixel dimensions in SetPadding() are scaled by GUI size, padding for inset viewports was excessive. Instead, automatically apply padding for WWT_INSET at widget level. This applies to all widgets inside a WWT_INSET, which in all instances is a NWID_VIEWPORT.
2021-01-11Change: Relocate rename and location buttons in all windows.frosch
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-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2014-10-21(svn r27030) -Fix: crash when having the vehicle list opened from a buoy or ↵rubidium
oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
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 r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-10-07(svn r24576) -Fix [FS#5319] (r24260): Vehicle list at buoys did no longer ↵frosch
work. (Juanjo)
2011-12-16(svn r23530) -Codechange: begin unify the naming of widgets and add comments ↵rubidium
to them, in this case the waypoint view widgets
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
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-11-24(svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at ↵peter1138
wrong zoom level.
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-23(svn r22131) -Fix: Spectators had trouble closing buoy windows. (Terkhen)frosch
2010-12-05(svn r21415) -Codechange: limit station/waypoint name by amount of ↵rubidium
characters, not bytes
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-10-24(svn r21035) -Fix [FS#4181] (r21020): crash when opening the buoy's ↵rubidium
viewport. Based on a patch by Krille.
2010-10-23(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after ↵alberth
resize (partly by Krille).
2010-10-23(svn r21020) -Add: Use center of waypoint in waypoint gui, if available.alberth
2010-09-16(svn r20813) -Fix: make the waypoint viewport keep centered around the ↵rubidium
waypoint when resizing the window (Krille)
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-06-15(svn r19990) -Fix: owner of the Waypoint View window wasn't properly setsmatz
2010-06-11(svn r19957) -Codechange: remove VLW_WAYPOINT_LISTsmatz
2010-06-10(svn r19956) -Fix: close list of vehicles with given oil rig in orders when ↵smatz
the oil rig is deleted -Fix (r19952): close the list when it is not sticky
2010-06-10(svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders ↵smatz
when switching company
2010-06-10(svn r19952) -Fix: do not close list of waypoint's trains when the waypoint ↵smatz
view is closed - unify behaviour with other station types
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18125) -Fix: the waypoint/buoy window had the wrong text colour in ↵rubidium
their title
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-07(svn r17441) -Fix (r16900): close the vehicle list of the vehicle type that ↵rubidium
visits the waypoint instead of for all vehicle types
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives