Start of custom asset location handling, WIP
This commit is contained in:
parent
74206ec01a
commit
0c6746fdce
5 changed files with 63 additions and 10 deletions
|
|
@ -88,13 +88,18 @@ class CardinalUI : public UI,
|
|||
|
||||
public:
|
||||
CardinalUI()
|
||||
: UI(1280, 720),
|
||||
: UI(1228, 666),
|
||||
fContext(getRackContextFromPlugin(getPluginInstancePointer())),
|
||||
fResizeHandle(this)
|
||||
{
|
||||
if (isResizable())
|
||||
fResizeHandle.hide();
|
||||
|
||||
const double scaleFactor = getScaleFactor();
|
||||
|
||||
if (scaleFactor != 1)
|
||||
setSize(1228 * scaleFactor, 666 * scaleFactor);
|
||||
|
||||
fContext->window = new rack::window::Window;
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue