Andrew Belt
|
ca9231e1b3
|
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
|
5 years ago |
Andrew Belt
|
dca30e2b53
|
Auto-format code with astyle.
|
5 years ago |
Andrew Belt
|
696939069d
|
Use <> instead of "" for include directive.
|
6 years ago |
Andrew Belt
|
51c37936a9
|
Make RackRails positioned correctly to prevent blank frames.
|
6 years ago |
Andrew Belt
|
7624c46f19
|
Add assertions for 0-width ModuleWidgets. Add warning if framebuffer cannot be created in FramebufferWidget.
|
6 years ago |
Andrew Belt
|
e60ed0cf98
|
Added "invertZoom" to settings.
|
6 years ago |
Andrew Belt
|
419a1e7529
|
Only draw framebuffer is frame is not overdue
|
6 years ago |
Andrew Belt
|
7b0c04aa9f
|
Copy oversampled FramebufferWidgets to actual-size framebuffers after rendering.
|
6 years ago |
Andrew Belt
|
0e99165139
|
Fix framebuffer incorrect scale when zooming. Reset NanoVG state after drawing framebuffer.
|
6 years ago |
Andrew Belt
|
d6f5a84178
|
Draw FramebufferWidgets during step() instead of draw() so we can use the same NanoVG context.
|
6 years ago |
Andrew Belt
|
e1bb26e793
|
Fix FramebufferWidget call to drawFramebuffer().
|
6 years ago |
Andrew Belt
|
a509fab1c1
|
Move and rename widget::DrawContext to widget::Widget::DrawArgs. Rename Module::ProcessContext to Module::ProcessArgs.
|
6 years ago |
Andrew Belt
|
8a5a806425
|
Add app::, ui::, and widget:: namespaces.
|
6 years ago |
Andrew Belt
|
6d1142b449
|
Add new Widget::draw() method. Deprecate old method.
|
6 years ago |
Andrew Belt
|
9a4a89b234
|
Allow param data entry in context menu. Don't allow nested FramebufferWidget drawing.
|
6 years ago |
Andrew Belt
|
cb38464a28
|
Add GLWidget
|
6 years ago |
Andrew Belt
|
223341e2f1
|
Clean up README. Move SVGPanel to source file. Fix alignment bugs in FramebufferWidget.
|
6 years ago |
Andrew Belt
|
655f081965
|
Rename context() to app(). Add skeleton for history.
|
6 years ago |
Andrew Belt
|
20b78190c1
|
Put math in namespace
|
6 years ago |
Andrew Belt
|
0dec45d970
|
Class-ify window, un-class-ify asset
|
6 years ago |
Andrew Belt
|
a792c85cbc
|
Cleanup includes more
|
6 years ago |
Andrew Belt
|
499ceb024f
|
Remove math namespace
|
6 years ago |
Andrew Belt
|
c3407ca07d
|
Code style: Remove () from `new X()`
|
6 years ago |
Andrew Belt
|
6475c630b5
|
Revise event and widget API (draft), migrate source files to headers (WIP), separate large headers into small headers in subfolders (WIP)
|
6 years ago |
Andrew Belt
|
34af736ee5
|
Add rack0.hpp backward compatibility header for ease of migration
|
6 years ago |
Andrew Belt
|
c57c76e6d1
|
Move math to its own namespace, clean up deprecated classes
|
6 years ago |
Andrew Belt
|
13107b8577
|
Switch to C++ headers
|
7 years ago |
Andrew Belt
|
09d368edb3
|
WIP Windows static build
|
7 years ago |
Andrew Belt
|
df297d3291
|
Merge ext with dep, add Rack-SDK zip file to dist
|
7 years ago |
Andrew Belt
|
979e44f650
|
Rename gui.hpp to window.hpp
|
7 years ago |
Andrew Belt
|
85c75eef33
|
Changed log() to info(), warn(), and fatal()
|
7 years ago |
Andrew Belt
|
b10d1122bb
|
Added log() logger with INFO, WARN, and ERROR levels
|
7 years ago |
Andrew Belt
|
e76f3c8392
|
Call onZoom event when DPI is changed
|
7 years ago |
Andrew Belt
|
45d664a9b7
|
Fix FramebufferWidget wrap mistake
|
7 years ago |
Andrew Belt
|
28904bb730
|
Use children bounding box for FramebufferWidget
|
7 years ago |
Andrew Belt
|
8e251c0ddb
|
Refactor event framework. Everything uses Event* structs instead of
messy function arguments, removed on*Opaque()
|
7 years ago |
Andrew Belt
|
03ce2d6e2b
|
Fix framebuffer 1 pixel offset bug when position world coordinate is negative
|
7 years ago |
Andrew Belt
|
580f0db6b4
|
Change zoom only when zoom slider has finished moving (onAction())
|
7 years ago |
Andrew Belt
|
99ad658694
|
Oversample SVGPanels by 2, everything else by 1
|
7 years ago |
Andrew Belt
|
923942e289
|
Set FrameBuffer::oversample to 1 by default
|
7 years ago |
Andrew Belt
|
684c783d41
|
Render rack rails with rescaling
|
7 years ago |
Andrew Belt
|
bd10e6f1fa
|
Made Framebuffer scaling work with real numbered positions
|
7 years ago |
Andrew Belt
|
a22aac6493
|
Added zoom slider, zoom to settings, finished Framebuffer scaling
|
7 years ago |
Andrew Belt
|
f5e8ba0369
|
Use another nanovg context for rendering to the framebuffer
|
7 years ago |
Andrew Belt
|
0c4cf64726
|
Renamed Plugin to Manufacturer, added multiline to TextField, added
Notes to Core, changed plugin build system to support multiple targets
per manufacturer
|
7 years ago |
Andrew Belt
|
ffd8dde517
|
Middle click drag now sends an onScroll event in the object it is hovering, open UrlItem browser in new thread, use Module constructor for setting number of params/inputs/outputs
|
7 years ago |
Andrew Belt
|
e970d2ee3d
|
Remove FramebufferWidget padding
|
7 years ago |
Andrew Belt
|
232fccce38
|
Move version check dialog box to RackScene on main thread
|
7 years ago |
Andrew Belt
|
193c3902f6
|
Update README, small complilation warning fixes, reject zero-size FBOs
|
7 years ago |
Andrew Belt
|
98987a2ef9
|
Add error message if window doesn't open, refactor SVGPanel
|
7 years ago |