Robert Müller
caa23bcfdd
Move CMenus::UseMouseButtons to CUI::SetEnabled
2022-05-27 19:43:12 +02:00
Robert Müller
b9c52f7e31
Use SetActiveItem(nullptr) instead of SetActiveItem(0)
2022-05-27 11:59:14 +02:00
Robert Müller
2b02bd449b
Prevent lock of UI
...
Co-authored-by: oy <tom_adams@web.de>
2022-05-27 11:53:05 +02:00
Robert Müller
fc93ba0539
Remove unused DoButtonLogic pText argument
2022-05-14 00:26:15 +02:00
Robert Müller
ca091d87b2
Support nesting editboxes, pickers and scrollbars in clipping areas
2022-05-13 21:39:25 +02:00
Robert Müller
60347fde1a
Use MouseHovered instead of clipping manually
2022-05-13 21:38:01 +02:00
Robert Müller
0f6572ebf6
Rename static variables ButtonUsed -> s_ButtonUsed
2022-05-13 20:46:54 +02:00
Robert Müller
6241c8483d
Use bool instead of int with MouseInside
2022-05-13 20:46:50 +02:00
Robert Müller
1855b4aea1
Support nested CUI clipping regions
2022-05-13 20:20:04 +02:00
Edgar
3c904ffbb4
fix conflict
2022-04-07 09:46:02 +02:00
Chairn
6086893fa6
Renamed all shadowing/shadowed variables
2022-03-24 17:59:49 +01:00
Jupeyy
95fe457abb
Auto font size
2022-03-11 17:34:48 +01:00
Robert Müller
4fbca828f4
Add optional Spacing parameter to H/VSplitMid
2022-01-26 20:41:05 +01:00
def
bc78ba57b9
Enable readability-inconsistent-declaration-parameter-name
2022-01-22 14:12:59 +01:00
def
7aac8b5386
Add readability-container-size-empty
2022-01-22 13:54:25 +01:00
ChillerDragon
b770bc6988
Use ETextAlignment enum for UI
...
Replaces the magic numbers -1/0/1 for left/center/right
Based on the work done in upstream:
@cinaera added alignment enums
04ee8b20a1
@TsFreddie renamed them
67651e8122
2022-01-21 16:26:19 +01:00
Robert Müller
a61c45550d
rename Init method and move implementation
2021-12-03 20:26:27 +01:00
Robert Müller
af82a20374
move ms_FontmodHeight to CUI
2021-12-03 20:26:25 +01:00
Robert Müller
053981ee4c
refactor UI scrollbars
2021-11-26 23:03:45 +01:00
def
36a6b39031
Fix save typing when server settings are open in editor
...
As reported by louis:
> while saving a mapname while having the "Server Settings" tab open,
> pressing "m" while typing the mapname will unfocus the cursor from the
> mapname field onto the server settings field
2021-11-22 18:26:14 +01:00
Jupeyy
0d17665137
Revert "Add new mouse state"
...
This reverts commit e4cb348db2
.
2021-10-23 13:48:21 +02:00
Jupeyy
e4cb348db2
Add new mouse state
2021-10-07 16:48:25 +02:00
Jupeyy
fd68cc3a05
Add basic selection support for ui ex edit boxes
2021-10-04 19:58:25 +02:00
Robert Müller
3d412646a0
add CUI::MapScreen convenience method
2021-09-22 21:48:55 +02:00
Jupeyy
1e07a00c3b
Refactor CUIElements
2021-09-14 00:21:20 +02:00
Alexander Akulich
2790270abf
Adopt upstream refactoring: Mark several functions as 'const'
2021-02-23 18:26:16 +03:00
Дядя Женя
77f84ac831
Ready
2020-12-14 03:51:31 +03:00
Jupeyy
c0dbd4a6f5
Fix leak, initialize UI Element Rect
2020-11-25 13:11:34 +01:00
Jupeyy
51a31774f8
Don't trigger text alignment for editboxes
2020-11-15 07:15:38 +01:00
Jupeyy
a9631bf9cd
Fix text color change
2020-11-08 19:43:01 +01:00
Jupeyy
74515d4b95
UI Elements
2020-10-19 23:52:29 +02:00
Jupeyy
5ebabe2ece
Text alignment
2020-10-07 04:44:35 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
c31fc33cf2
Fix MouseInside to only select one field ( fixes #2868 )
2020-09-19 11:50:33 +02:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02:00
Jupeyy
887bcb52ff
add window event listener for the client
2018-03-21 15:54:51 +01:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
def
040fc9ca32
Implement right click and middle click on country and type filters
...
Right click: exclusively activate one
Middle click: reset (reenable all)
2017-08-30 22:36:39 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
def
f46767cfae
Fix: Mousesens in UI independent of Dyncam
2015-08-27 22:19:25 +02:00
def
043d718698
Fix dyncam mousesens
2015-08-27 21:52:10 +02:00
def
1dddf42cbb
Simplify Dyncam and fix #311
2015-08-27 20:26:05 +02:00
BeaR
a4cfc10898
Implement an HSV picker for color of quad points
2015-08-17 20:14:23 +02:00
def
2f491a7d2f
Better on screen keys for Android
2014-06-16 14:44:00 +02:00
def
7875c2ec36
Android support (by Pelya)
2014-06-16 13:29:18 +02:00
def
6d0bceda6b
Fix: Friend selection in server browser
2014-01-16 00:46:13 +01:00
oy
fa81141110
added demo markers by Choupom. Closes #837
2012-01-10 23:13:19 +01:00
oy
7648ba3024
added a different mouse sens for menus/editor
2011-07-03 00:36:07 +02:00
oy
06115dd49d
added "Whitespace and line Endings cleanup" by GreYFoX
2011-04-13 20:37:12 +02:00