yexo
fee8c84de9
(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels
2010-09-15 21:10:14 +00:00
smatz
d9cca2ae1d
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
2010-09-07 11:00:42 +00:00
smatz
63b8fea69f
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
2010-09-06 14:14:09 +00:00
yexo
faccfb921d
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
2010-08-31 12:18:28 +00:00
yexo
a6523649a8
(svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable
2010-08-30 14:52:28 +00:00
yexo
b17319a02f
(svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window
2010-08-30 14:51:11 +00:00
yexo
9fd6adf6a9
(svn r20695) -Codechange: move PreventHiding to another location
2010-08-30 14:50:42 +00:00
alberth
2b4da1d345
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
2010-08-29 15:58:43 +00:00
rubidium
8c2b418749
(svn r20577) -Fix [FS#4043]: scroll button flickering when pressed
2010-08-20 11:55:10 +00:00
terkhen
0d68b98482
(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window.
2010-08-19 08:22:08 +00:00
rubidium
55427e4062
(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)
2010-08-15 23:42:36 +00:00
frosch
ba8d961664
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
984e555cb4
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
2010-08-12 09:14:34 +00:00
frosch
b98eba0fb2
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12 09:13:04 +00:00
frosch
92c34da796
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
2010-08-12 09:11:12 +00:00
frosch
807370d4b8
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12 09:09:24 +00:00
frosch
e41130db84
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
2010-08-12 09:07:45 +00:00
frosch
4817d5dcd6
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll 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 08:37:01 +00:00
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
d2cd93fee2
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
2010-08-12 06:40:28 +00:00
terkhen
04134c1e51
(svn r20289) -Codechange: Unify fall through coding style.
2010-08-01 20:52:11 +00:00
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
alberth
603c33efc1
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
2010-07-31 21:43:07 +00:00
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
2010-07-31 21:02:56 +00:00
alberth
6734f083b0
(svn r20222) -Add: Add functions to compute the row in a scrolled widget.
2010-07-26 13:03:40 +00:00
alberth
71aac2192f
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
2010-07-26 13:02:28 +00:00
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
frosch
ca8a953395
(svn r20152) -Fix: Silence a gcc warning.
2010-07-14 20:24:45 +00:00
rubidium
5e83d73679
(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-14 17:36:27 +00:00
terkhen
6154b346e3
(svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely.
2010-07-14 15:08:31 +00:00
frosch
2db785bfff
(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.
2010-07-11 14:35:53 +00:00
terkhen
010ebadb0a
(svn r20121) -Add: OnHover method for windows.
2010-07-11 11:00:09 +00:00
terkhen
840f09ddf0
(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it.
2010-07-11 10:58:55 +00:00
terkhen
90d6003dbb
(svn r20118) -Add: Detect if the mouse has been hovering over the same point.
2010-07-11 10:53:07 +00:00
terkhen
ff26bed701
(svn r20117) -Codechange: Use a Point struct to store double click position.
2010-07-11 10:50:47 +00:00
yexo
d96aa7abfa
(svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
...
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03 21:43:44 +00:00
frosch
65d058723e
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
2010-06-05 13:32:42 +00:00
alberth
6a2af1cd29
(svn r19910) -Doc: Doxygen additions.
2010-05-30 13:16:51 +00:00
alberth
29fd6ce0e4
(svn r19909) -Doc: Typo fixes, small doxygen improvements.
2010-05-30 13:05:36 +00:00
alberth
d0a999bd5b
(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.
2010-05-30 12:40:40 +00:00
alberth
1417c52725
(svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state.
2010-05-30 12:18:49 +00:00
alberth
ee390ab713
(svn r19905) -Codechange: Use EventState for mouse handling routines.
2010-05-30 12:15:28 +00:00
alberth
b40fc5bab8
(svn r19904) -Codechange: Make EventState usable outside Window context.
2010-05-30 12:06:18 +00:00
alberth
63c3220e1d
(svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode.
2010-05-30 10:36:32 +00:00
alberth
740185febd
(svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr).
2010-05-23 14:53:39 +00:00
frosch
dccab5b43f
(svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before.
2010-05-01 15:32:17 +00:00
frosch
efdc25bb73
(svn r19731) -Add: Spritepicker to sprite alignment tool.
2010-04-26 20:35:27 +00:00