summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2011-03-13(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do ↵frosch
immediately in command scope, and what to do asynchronously in GUI-scope.
2011-03-08(svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before ↵frosch
doing OnHundrethTick()-calls.
2011-02-24(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)frosch
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
2011-02-11(svn r22059) -Fix (r21179): Make the send chat message window follow the ↵terkhen
position of the status bar.
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 r21837) -Fix [FS#4419]: LMB dragging would switch over to other ↵rubidium
viewports instead of staying locked to the viewport you started on
2011-01-16(svn r21822) -Codechange: Merge event handling code.alberth
2011-01-16(svn r21821) -Codechange: Clean up the jump conditions.alberth
2011-01-16(svn r21820) -Codechange: Concatenate both functions.alberth
2011-01-16(svn r21819) -Codechange: Swap order of HandleMouseDrag() and ↵alberth
HandleDragDrop(), and split the w vardecl in the former.
2011-01-09(svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars.alberth
2010-12-30(svn r21667) -Codechange: Introduce _thd.Reset().alberth
2010-12-30(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.alberth
2010-12-25(svn r21632) -Codechange: call ResetObjectToPlace() even when current ↵smatz
place_mode is HT_NONE
2010-12-24(svn r21620) -Codechange: Don't consider direction bits when checking for an ↵alberth
active highlight mode.
2010-12-12(svn r21480) -Change [FS#4292]: make it possible to start actions that ↵rubidium
require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed
2010-12-07(svn r21430) -Feature [FS#1521]: building while paused always works in the ↵rubidium
scenario editor
2010-12-07(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it ↵rubidium
paused. Now you can enable or disable that with a setting
2010-11-18(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the ↵rubidium
middle; let it follow the setting of the statusbar instead
2010-11-13(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is ↵rubidium
configurable, why isn't the statusbar's location configurable?
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-29(svn r21057) -Fix [FS#4182] (r20922): network client "fast forward" ↵rubidium
incrementing counter multiple times in same "GUI" tick causing an invalid state
2010-10-23(svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom ↵glx
of the screen
2010-10-15(svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar ↵rubidium
arrows while pressing it clicks the button next to the arrow
2010-09-17(svn r20820) -Codechange: remove two more contants related to the height of ↵yexo
the main toolbar
2010-09-15(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 ↵yexo
pixels
2010-09-07(svn r20759) -Fix (r20753): it wasn't possible to build anything when left ↵smatz
button scrolling was active
2010-09-06(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone ↵smatz
and vehicle to clone orders from directly from vehicle lists and depot window
2010-08-31(svn r20705) -Fix: graphic glitch when switching to a different-sized font ↵yexo
while the chat message box was visible
2010-08-30(svn r20697) -Fix [FS#4084]: call the new function after resizing a window ↵yexo
so it's not possible a window becomes unmoveable
2010-08-30(svn r20696) -Codechange: create a new function to make sure part of the ↵yexo
caption bar is visible when creating a window
2010-08-30(svn r20695) -Codechange: move PreventHiding to another locationyexo
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-08-20(svn r20577) -Fix [FS#4043]: scroll button flickering when pressedrubidium
2010-08-19(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the ↵terkhen
window.
2010-08-15(svn r20509) -Change: don't cycle (quickly) through the shade states. Just ↵rubidium
make scrolling up shade the window and scrolling down unshade it. (avdg)
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state ↵frosch
directly in the scrollbar widget instead.
2010-08-12(svn r20459) -Codechange: Remove the Scrollbar members of Window and make ↵frosch
NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cppfrosch
2010-08-12(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE ↵frosch
and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12(svn r20456) -Codechange: Add separate nested widget class for scrollbars.frosch
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get ↵frosch
the Scrollbar belonging to a scrollbar widget.