alberth
|
c341673cd5
|
(svn r17998) -Fix (r17994): Use a consistent item list width.
|
15 years ago |
alberth
|
c7ca4691c4
|
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
|
15 years ago |
alberth
|
0bc03c25f4
|
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
|
15 years ago |
alberth
|
da20ee30a2
|
(svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets.
|
15 years ago |
alberth
|
3ae1b98d3a
|
(svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets.
|
15 years ago |
alberth
|
abe3dc1f34
|
(svn r17993) -Codechange: Move widget and data initialization into the dropdown menu class.
|
15 years ago |
alberth
|
d03bf874fc
|
(svn r17993) -Codechange: Move widget and data initialization into the dropdown menu class.
|
15 years ago |
alberth
|
2ae6969b49
|
(svn r17992) -Codechange: Merge some parameters of the dropdown menu.
|
15 years ago |
alberth
|
81796f10e5
|
(svn r17992) -Codechange: Merge some parameters of the dropdown menu.
|
15 years ago |
alberth
|
55c5565d1f
|
(svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu window.
|
15 years ago |
alberth
|
61576c3184
|
(svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu window.
|
15 years ago |
alberth
|
46b819bba0
|
(svn r17990) -Codechange: Add widgets enum for dropdown menu window.
|
15 years ago |
alberth
|
7dd10a684d
|
(svn r17990) -Codechange: Add widgets enum for dropdown menu window.
|
15 years ago |
alberth
|
3fe117133c
|
(svn r17944) -Codechange (r11848): Removed the second counter variable that ran in sync with the first one.
|
15 years ago |
alberth
|
726edbf3c0
|
(svn r17944) -Codechange (r11848): Removed the second counter variable that ran in sync with the first one.
|
15 years ago |
alberth
|
f37f2d037c
|
(svn r17942) -Documentation: Add a few doxygen comments to the dropdown code.
|
15 years ago |
alberth
|
bd5fd95e5c
|
(svn r17942) -Documentation: Add a few doxygen comments to the dropdown code.
|
15 years ago |
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
alberth
|
b124f09934
|
(svn r17575) -Codechange: Adding a new combined button+dropdown widget.
|
15 years ago |
alberth
|
8d7498b82c
|
(svn r17575) -Codechange: Adding a new combined button+dropdown widget.
|
15 years ago |
alberth
|
d54028fde8
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
15 years ago |
alberth
|
116c77c342
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
15 years ago |
frosch
|
0e36260337
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
7a1ffc6501
|
(svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty.
|
15 years ago |
rubidium
|
a34d19e9df
|
(svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty.
|
15 years ago |
rubidium
|
62c7948a4f
|
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
|
15 years ago |
rubidium
|
5cb22df0f5
|
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
alberth
|
0cc8cbd40d
|
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
|
15 years ago |
alberth
|
4eb155ccfb
|
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
|
15 years ago |
alberth
|
aac49ba01c
|
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
|
15 years ago |
alberth
|
c94c18fc0a
|
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
|
15 years ago |
alberth
|
a3abbfc204
|
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
|
16 years ago |
alberth
|
34066a6027
|
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
|
16 years ago |
rubidium
|
5c5b357043
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
16 years ago |
rubidium
|
59d45a04d6
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
16 years ago |
peter1138
|
a6de3cd932
|
(svn r15877) -Codechange: Let drop down lists know about font height.
|
16 years ago |
peter1138
|
f30f5607e3
|
(svn r15877) -Codechange: Let drop down lists know about font height.
|
16 years ago |
rubidium
|
303a8f9673
|
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
|
16 years ago |
rubidium
|
93fe44a3c5
|
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
|
16 years ago |
rubidium
|
66cb1fe1ff
|
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
|
16 years ago |
rubidium
|
9907742a0f
|
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
|
16 years ago |
peter1138
|
5304330f92
|
(svn r15387) -Codechange: Add a drop down list item type for char* strings.
|
16 years ago |
peter1138
|
77760a62fd
|
(svn r15387) -Codechange: Add a drop down list item type for char* strings.
|
16 years ago |
peter1138
|
bce50498fc
|
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
|
16 years ago |
peter1138
|
aad67b5736
|
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
|
16 years ago |
smatz
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
rubidium
|
4a204fbf96
|
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
|
16 years ago |
rubidium
|
2490f8f471
|
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
|
16 years ago |
glx
|
c61674221c
|
(svn r14840) -Cleanup: remove duplicate includes
|
16 years ago |
glx
|
c7959ce2a9
|
(svn r14840) -Cleanup: remove duplicate includes
|
16 years ago |
peter1138
|
7b632aa8aa
|
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
|
16 years ago |
peter1138
|
cf52b683c0
|
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
|
16 years ago |
peter1138
|
d6c385a41e
|
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
|
16 years ago |
peter1138
|
3c2f69bf62
|
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
|
16 years ago |
peter1138
|
ad52678d14
|
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
|
16 years ago |
peter1138
|
6bae045b4a
|
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
|
16 years ago |
peter1138
|
76b0ffd342
|
(svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
|
16 years ago |
peter1138
|
98d3d86004
|
(svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
|
16 years ago |
belugas
|
98d8501278
|
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
|
16 years ago |
belugas
|
96892e081a
|
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
|
16 years ago |
frosch
|
cfdc710104
|
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
|
17 years ago |
frosch
|
ecc5d648df
|
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
|
17 years ago |
rubidium
|
33e18c236d
|
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
|
17 years ago |
rubidium
|
5c5ee7eb57
|
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
|
17 years ago |
peter1138
|
855336a1e6
|
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
|
17 years ago |
peter1138
|
88f2ef652e
|
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
|
17 years ago |
rubidium
|
a21d3fc63b
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
17 years ago |
rubidium
|
6da56ee87e
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
17 years ago |
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
peter1138
|
2c02810b3a
|
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
|
17 years ago |
peter1138
|
9fa2e849f2
|
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
|
17 years ago |
rubidium
|
4525234df4
|
(svn r13052) -Codechange: make a class of the DropdownWindow.
|
17 years ago |
rubidium
|
5924346697
|
(svn r13052) -Codechange: make a class of the DropdownWindow.
|
17 years ago |
rubidium
|
2ac412375c
|
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
|
17 years ago |
rubidium
|
d24442ae8b
|
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
|
17 years ago |
rubidium
|
51cda2252c
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
17 years ago |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
17 years ago |
rubidium
|
8796331d83
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
17 years ago |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
rubidium
|
0083ce9e1b
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
17 years ago |
rubidium
|
cb680474c3
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
17 years ago |
peter1138
|
66783add65
|
(svn r12675) -Codechange: Add support for custom drawing of drop down list items.
|
17 years ago |
peter1138
|
447a31b702
|
(svn r12675) -Codechange: Add support for custom drawing of drop down list items.
|
17 years ago |
peter1138
|
9e69877e70
|
(svn r12672) -Codechange: Add support for variably-sized drop down list items.
|
17 years ago |
peter1138
|
711909fa0c
|
(svn r12672) -Codechange: Add support for variably-sized drop down list items.
|
17 years ago |
peter1138
|
3badd38914
|
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
|
17 years ago |
peter1138
|
63116691a9
|
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
|
17 years ago |
rubidium
|
845c5d0a49
|
(svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes.
|
17 years ago |
rubidium
|
2ac6af4e48
|
(svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes.
|
17 years ago |
rubidium
|
1dc0af3248
|
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
|
17 years ago |
rubidium
|
ee02dd7dad
|
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
|
17 years ago |
peter1138
|
25f0a890ae
|
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
|
17 years ago |
peter1138
|
9f6fd72c09
|
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
|
17 years ago |
peter1138
|
cc05abf382
|
(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed
|
17 years ago |
peter1138
|
02c9484ebb
|
(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed
|
17 years ago |
peter1138
|
9fdb9a82a2
|
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
|
17 years ago |
peter1138
|
c313676c66
|
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
|
17 years ago |
peter1138
|
e938855375
|
(svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list.
|
17 years ago |
peter1138
|
ab7cb0804d
|
(svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list.
|
17 years ago |
peter1138
|
c954ce1b33
|
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
|
17 years ago |
peter1138
|
932c586dfe
|
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
|
17 years ago |
peter1138
|
327ea90331
|
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
|
17 years ago |
peter1138
|
2723128ba9
|
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
|
17 years ago |
rubidium
|
c7f9705e4a
|
(svn r11857) -Fix: some compile time warnings.
|
17 years ago |
rubidium
|
c1108bd293
|
(svn r11857) -Fix: some compile time warnings.
|
17 years ago |
peter1138
|
6fa0463d79
|
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
|
17 years ago |
peter1138
|
1bcca5aae2
|
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
|
17 years ago |
peter1138
|
85e49e6290
|
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
|
17 years ago |
peter1138
|
bf0a7ae4fb
|
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
|
17 years ago |
peter1138
|
1fa2285327
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
17 years ago |
peter1138
|
e4c05f8d78
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
17 years ago |