Ivan Savenko
|
2a634b2ec0
Fixed UI updates on switching to/from fullscreen
|
2 years ago |
Ivan Savenko
|
563d7dd41f
Renamed RCLICK -> SHOW_POPUP
|
2 years ago |
Ivan Savenko
|
d4aa778547
Replaced clickRight event with showPopupWindow/closePopupWindow
|
2 years ago |
Ivan Savenko
|
6fe00ad55c
Moved slider class to a separate file
|
2 years ago |
Ivan Savenko
|
360bf48031
Implemented panning/swiping gesture for sliders
|
2 years ago |
Ivan Savenko
|
dc8e9cd048
wheelScrolled event now accepts distance instead of bool
|
2 years ago |
Ivan Savenko
|
e2a85e25fa
Removed old code
|
2 years ago |
Ivan Savenko
|
8ea0ecaec1
show/showAll methods now use Canvas instead of SDL_Surface
|
2 years ago |
Ivan Savenko
|
a4000f2fc8
Removed isActive(int) method since its usages were redundant or wrong
|
2 years ago |
Ivan Savenko
|
0e70f2998f
SDL event handling is now done exclusively in input handler
|
2 years ago |
Ivan Savenko
|
ff1c94541f
Fix button interaction with hotkey & mouse
|
2 years ago |
Ivan Savenko
|
1f513fd280
Extracted event management from GuiHandler and CIntObject
|
2 years ago |
Ivan Savenko
|
ad3e54e6c0
Reduced usage of topWindow() method
|
2 years ago |
Ivan Savenko
|
d4098059b8
Proper support for player-colored buttons in UI
|
2 years ago |
Ivan Savenko
|
dea10e6091
Use more descriptive names for hotkeys
|
2 years ago |
Ivan Savenko
|
832e56e005
Implementation of (very basic) shortcuts system
|
2 years ago |
Konstantin
|
7a5775a9f9
vcmi: use std::optional
|
2 years ago |
Ivan Savenko
|
506c3d29bc
Replaced vstd clamp with std version
|
2 years ago |
Ivan Savenko
|
507d8bf7fd
Allow defining active areas for sliders. Fixes settings window.
|
2 years ago |
Ivan Savenko
|
f09897b2b4
Remove unnecessary redraws
|
2 years ago |
Ivan Savenko
|
3fef2a5e1f
Moved Colors to a separate file, updated includes
|
2 years ago |
Ivan Savenko
|
cfcaf5cbb6
renamed keyDown -> keyPressed
|
2 years ago |
Ivan Savenko
|
d4fba3787c
Removed usage of SDL_KeyboardEvent from UI code
|
2 years ago |
Ivan Savenko
|
860fe43131
Merged two mouse button enums
|
2 years ago |
Ivan Savenko
|
214fc19e74
CIntObject now receives mouse position as point instead of SDL event
|
2 years ago |
Ivan Savenko
|
108a42e4ba
Reorganized includes for new layout. New class - IImageLoader
|
2 years ago |
Ivan Savenko
|
9c3030603d
Removed most SDL includes from headers, removed SDL int's
|
2 years ago |
Ivan Savenko
|
50a0fc4fb2
Removed pointer to current SDL_Event from GuiHandler
|
2 years ago |
Ivan Savenko
|
ee7a573cb8
Refactoring of SDL API usage:
|
2 years ago |
Ivan Savenko
|
9a620a9091
Refactoring of GeneralTextHandler to reduce boilerplate code in callers
|
2 years ago |