summaryrefslogtreecommitdiff
path: root/src/viewport_gui.cpp
AgeCommit message (Collapse)Author
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
2018-05-24Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch ↵Alexander Weiss
to zoom
2017-02-05(svn r27743) -Fix [FS#6537]: Extra viewports did not center on the selected ↵frosch
tile. (hackalittlebit)
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
2011-12-16(svn r23532) -Codechange: unify widget naming of (extra) viewportrubidium
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-11-24(svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at ↵peter1138
wrong zoom level.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-05(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of ↵frosch
viewport scroll/zoom settings.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21838) -Change: allow LMB scrolling with the mouse outside of the ↵rubidium
extra viewport instead of canceling scrolling when going slightly over the edge
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-10-17(svn r20962) -Fix [FS#4166](r20956): Determine tile under cursor before ↵frosch
opening the new viewport. It might appear just below the cursor.
2010-10-16(svn r20956) -Feature: Center new extra viewports on the tile below the ↵frosch
mouse. Only center on center of main viewport if mouse is not in any viewport.
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-05(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct positionyexo
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-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-20(svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp ↵smatz
to viewport_gui.cpp