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 |
Andrew Belt
|
c932654768
|
Set larger default zoom level. Fix bug in translucent MenuOverlay
background.
|
4 years ago |
Andrew Belt
|
a93ebf8e28
|
Enable MenuOverlay darkening again. Use MenuOverlay subclass for
ModuleBrowser. Consume all keys/buttons in MenuOverlay.
|
4 years ago |
Andrew Belt
|
7f55e68bbc
|
Round TipWindow to nearest integer pixel position. Don't consume key presses in MenuOverlay.
|
4 years ago |
Andrew Belt
|
d0b8aecf15
|
Make MenuOverlay consume all key presses so Scene doesn't respond to them when a menu is open.
|
4 years ago |
Andrew Belt
|
a5c5cdd302
|
Rearrange Library menu items. Change library plugin update period to 15 seconds.
|
4 years ago |
Andrew Belt
|
f79090407d
|
Add ui::OptionButton. Replace ShowButton with OptionButton in tip window. Add a few tips.
|
5 years ago |
Andrew Belt
|
7a500c9c26
|
Add tip window. Add "showTipsOnLaunch" and "tipIndex" to settings.
|
5 years ago |
Andrew Belt
|
3aaca9f90d
|
Add Widget::getVisibleChildrenBoundingBox(). Scroll ScrollWidget only if content can be scrolled.
|
5 years ago |
Andrew Belt
|
01f3f32716
|
Add `ScrollWidget::hideScrollbars`. Use it for RackScrollWidget when fullscreen.
|
5 years ago |
Andrew Belt
|
18f8283e34
|
Rename ui::ScrollBar to Scrollbar. (Wikipedia says "scrollbar" rather than "scroll bar".)
|
5 years ago |
Andrew Belt
|
c9df984896
|
Add operator overloads for math::Vec.
|
5 years ago |
Andrew Belt
|
16a7f778de
|
Add event::Event::unconsume().
|
5 years ago |
Andrew Belt
|
28be21cfef
|
Fix middle-mouse-drag speed of ScrollWidget with non-1 zoom level.
|
5 years ago |
Andrew Belt
|
2d253fe2fb
|
Make scrollbar mouse interaction similar to modern OS behavior
|
5 years ago |
Andrew Belt
|
7908dd8b9f
|
Add get and set methods to Vec1. Add helper methods to Widget. Refactor ScrollWidget and ScrollBar.
|
5 years ago |
Andrew Belt
|
feece06fbb
|
Add event::KeyBase::keyName, which fixes key commands on AZERTY and Dvorak. Add lots of documentation to event::KeyBase.
|
5 years ago |
Andrew Belt
|
a7cd63351f
|
Make TextField consume all select-key actions.
|
5 years ago |
Andrew Belt
|
120aafe6d3
|
Change order of includes to C++ standard headers, library headers, and local project headers.
|
5 years ago |
Andrew Belt
|
ca9231e1b3
|
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
|
5 years ago |
Andrew Belt
|
d0098ae7cc
|
Allow left button to scroll ScrollWidget, so that the rack and other scroll containers can be scrolled with a touch screen.
|
5 years ago |
Andrew Belt
|
040d862102
|
Move Window::mousePos to Scene::mousePos.
|
5 years ago |
Andrew Belt
|
83cc03d049
|
Make numpad Enter work in TextField.
|
6 years ago |
Andrew Belt
|
978acab35e
|
Work on TextField key commands.
|
6 years ago |
Andrew Belt
|
7b924b56a3
|
Don't allow TextField::onSelectKey to consume all keys, only the ones it uses.
|
6 years ago |
Andrew Belt
|
3073bef995
|
Add page up/down, home, and end key commands to ScrollWidget.
|
6 years ago |
Andrew Belt
|
dca30e2b53
|
Auto-format code with astyle.
|
6 years ago |
Andrew Belt
|
42902871fb
|
Don't flip scroll coordinates of ScrollWidget when shift is held on Mac
|
6 years ago |
Andrew Belt
|
4f2a21e325
|
Make Tooltip fit inside parent.
|
6 years ago |
Andrew Belt
|
d2f0458036
|
Close MenuOverlay when clicked with any mouse button
|
6 years ago |
Andrew Belt
|
696939069d
|
Use <> instead of "" for include directive.
|
6 years ago |