Andrew Belt
|
cb01a15607
|
Add wiget::getKeyCommandName() and getKeyName(). Use it instead of hard-coding key command strings.
|
9 months ago |
Andrew Belt
|
eea16efc29
|
Use key instead of keyName for checking key commands.
|
9 months ago |
Andrew Belt
|
e9ea0a9ef0
|
Make Slider corners sharp if a child of a Menu.
|
11 months ago |
Andrew Belt
|
5635e097a0
|
Add "View > Mouse wheel" setting to make mouse wheel zoom instead of scroll.
|
11 months ago |
Andrew Belt
|
b95897c7da
|
Add ui::ColorDotMenuItem.
|
1 year ago |
Andrew Belt
|
21e027ad80
|
When drawing Tooltip, use tooltipTheme.textColor instead of menuTheme. Set tooltipTheme to fg color for all UI themes.
|
2 years ago |
Andrew Belt
|
6e7d457a6f
|
Initialize ui::Label::color with transparent black. If unchanged, text is drawn with the default theme color.
|
2 years ago |
Andrew Belt
|
35c70e7459
|
Revise rail graphics from Pyer. Rename "Dark" theme to "High contrast dark" and "Default" to "Dark".
|
2 years ago |
Andrew Belt
|
3878d7053c
|
Make Light theme background a bit darker. Invert colors of slider.
|
2 years ago |
Andrew Belt
|
5b39f3a7a6
|
Tweak Light theme colors.
|
2 years ago |
Andrew Belt
|
5759ab3d0c
|
Add UI theme to settings and menu bar.
|
2 years ago |
Andrew Belt
|
a35b87c56b
|
Make ui::setTheme() better handle light and high-contrast dark themes, without modifying default theme too much.
|
2 years ago |
Andrew Belt
|
6258edeaf4
|
Don't consume key in TextField is Ctrl is held.
|
3 years ago |
Andrew Belt
|
aff9aa6fa6
|
Add TextField::password property, make PasswordField simply set that property.
|
3 years ago |
Andrew Belt
|
a786493ba1
|
Swap "Duplicate" and "Duplicate with cables" key commands. Add menu item to module and Edit menus.
|
3 years ago |
Andrew Belt
|
65c15baf95
|
Make Scrollbar translucent.
|
3 years ago |
Andrew Belt
|
c65636cc9d
|
Revert "Deselect TextField with escape key."
This reverts commit 0563858b26 .
|
3 years ago |
Andrew Belt
|
0563858b26
|
Deselect TextField with escape key.
|
3 years ago |
Andrew Belt
|
c0ecb9a88e
|
Consume up/down arrow keys in TextField.
|
3 years ago |
Andrew Belt
|
df89de7847
|
Move Svg to window:: namespace.
|
3 years ago |
Andrew Belt
|
f25a17075c
|
Add window:: namespace.
|
3 years ago |
Andrew Belt
|
80094b0f2e
|
Remove right-hand spacing from Tooltip.
|
3 years ago |
Andrew Belt
|
2344abbc11
|
If knobScroll is enabled, don't move knobs while scrolling the rack.
|
3 years ago |
Andrew Belt
|
a37ad4eeb5
|
Rename EventState::setHovered() etc to setHoveredWidget() etc.
|
3 years ago |
Andrew Belt
|
287e06eb08
|
Add Menu::cornerFlags.
|
3 years ago |
Andrew Belt
|
84a0728c42
|
Make Button, RadioButton, ChoiceButton, and OptionButton more consistent. Remove IconButton.
|
3 years ago |
Andrew Belt
|
b99a228f75
|
Don't consume all keys in TextField. Don't deselect TextField with escape key.
|
3 years ago |
Andrew Belt
|
b605c2c258
|
Don't close menu when Ctrl-clicking items. Add argument to MenuItem helpers to disable this behavior.
|
3 years ago |
Andrew Belt
|
94007a1c54
|
Add ability to disable SequentialLayout wrapping.
|
3 years ago |
Andrew Belt
|
a4f3542217
|
Update blendish. Add TextField::prevField/nextField.
|
3 years ago |
Andrew Belt
|
767c075b75
|
Add mod mask when checking for Alt-click dragging in ScrollWidget.
|
4 years ago |
Andrew Belt
|
a2904149c8
|
Rename window.hpp/cpp to Window.hpp/cpp since it's a class.
|
4 years ago |
Andrew Belt
|
55aa05bb89
|
Set default line height to 1.2 in Label and Tooltip.
|
4 years ago |
Andrew Belt
|
427f490f44
|
Handle middle-click in ScrollWidget before children can consume it.
|
4 years ago |
Andrew Belt
|
3ad7445488
|
Don't scroll ScrollWidget with left-click but allow scrolling with Alt-click.
|
4 years ago |
Andrew Belt
|
0cb6fa93e8
|
Revert to old font size behavior with NanoVG. This keep font sizes consistent.
|
4 years ago |
Andrew Belt
|
42af36fa0b
|
Make SequentialLayout resize according to its contents. Fix margins of model container in Module Browser.
|
4 years ago |
Andrew Belt
|
cdc44cda71
|
Add bgColor to MenuOverlay
|
4 years ago |
Andrew Belt
|
157c45038d
|
Use ui::Label for MeterLabel in menu bar. Set default Label font size to 11.
|
4 years ago |
Andrew Belt
|
b6aba4d66a
|
Fix menu item right text font size.
|
4 years ago |
Andrew Belt
|
f0deb51863
|
Move ui.hpp to ui/common.hpp.
|
4 years ago |
Andrew Belt
|
5484126aaa
|
Change `event::Foo` to `FooEvent`.
|
4 years ago |
Andrew Belt
|
c9cf25f66e
|
Merge event namespace into widget namespace. Event classes are now defined inside the Widget class.
|
4 years ago |
Andrew Belt
|
096f40f4f6
|
Fix Ctrl+scroll zooming with RackScrollWidget, which was broken when knob scrolling was added.
|
4 years ago |
Andrew Belt
|
9a21827b1e
|
Add TextField context menu.
|
4 years ago |
Andrew Belt
|
1e6bc7cdf5
|
Make Vec::equals, Rect::equals, Rect::containing, and Rect::intersecting non-deprecated.
|
4 years ago |
Andrew Belt
|
8f13625ebc
|
Disable translucent MenuOverlay background.
|
4 years ago |
Andrew Belt
|
eab8aaefad
|
Tweak behavior of word jumping in TextField.
|
4 years ago |
Andrew Belt
|
b986ff5882
|
Replace Module Browser sidebar with header. Add multiple tag selection (WIP), zoom (WIP), and sorting options (WIP).
|
4 years ago |
Andrew Belt
|
e6b25a6394
|
Refactor TextField key commands.
|
4 years ago |