Search found 77 matches

by pongasoft
Wed Aug 14, 2019 3:02 pm
Forum: VSTGUI
Topic: How to apply a transformation?
Replies: 1
Views: 19

How to apply a transformation?

I am implementing a custom view and I would like to have a "rotation" attribute that would rotate the drawing. So I would like to implement something like this: void MyCustomView::Draw(CDrawContext *ctx) { if(fRotation != 0) { // save state // apply rotation } ctx->draw... ctx->draw... ctx->draw... ...
by pongasoft
Sun Aug 04, 2019 2:22 pm
Forum: VST 3 SDK
Topic: SDK API
Replies: 2
Views: 91

Re: SDK API

Thank you. This helps a lot.

Yan
by pongasoft
Sat Aug 03, 2019 5:47 pm
Forum: VST 3 SDK
Topic: SDK API
Replies: 2
Views: 91

SDK API

Hello In short: If I wanted to write a VST3 host only what are the folders that are necessary and what are the ones that I can ignore? When I look at the VST3 sdk it comes with a lot of folders and subfolders and it is hard to know what is the "pure" VST3 API, and by that I mean, the classes/apis th...
by pongasoft
Thu Jul 18, 2019 1:26 pm
Forum: VSTGUI
Topic: COffscreenContext help?
Replies: 3
Views: 106

Re: COffscreenContext help?

I am not an expert, but what I have done in my code is to pass the raw pointer around and store the shared pointer. Example (from Jamba https://github.com/pongasoft/jamba/blob/v3.2.1/src/cpp/pongasoft/VST/GUI/Views/ToggleButtonView.h#L89) // with these types using BitmapPtr = CBitmap *; using Bitmap...
by pongasoft
Mon May 20, 2019 1:01 pm
Forum: VST 3 SDK
Topic: Getting Started - Simple Tutorials with Sample Codes
Replies: 7
Views: 488

Re: Getting Started - Simple Tutorials with Sample Codes

I am the author of Jamba https://github.com/pongasoft/jamba which is an open source and 100% free light VST framework. One of the main goal being the ability to very quickly bootstrap a VST project (generate a fully buildable, testable, editable and deployable plugin with a simple command). You can ...
by pongasoft
Fri May 17, 2019 12:49 pm
Forum: VSTGUI
Topic: Forcing scaling factor
Replies: 2
Views: 195

Re: Forcing scaling factor

Check the "Open in Low Resolution" option in the Finder Info for the editorhost app. Thanks this solution indeed works. But is cumbersome and not automateable. Is there a programatic way to force it? Since everything is automated in my case, everything gets compiled (including editorhost) and start...
by pongasoft
Thu May 16, 2019 1:29 pm
Forum: VSTGUI
Topic: Forcing scaling factor
Replies: 2
Views: 195

Forcing scaling factor

Hello I am developing on a Mac with HiDPI display and so I am working on hi resolution images (which are 2x). So I have 2 versions of every image (2x and 1x) like so (from the uidesc file) <bitmap name="button" path="button.png"/> <bitmap name="button_2x" path="button_2x.png" scale-factor="2"/> How ...
by pongasoft
Mon May 13, 2019 12:57 pm
Forum: VSTGUI
Topic: Global Drag and Drop
Replies: 2
Views: 159

Re: Global Drag and Drop

I am using VST SDK 3.6.9 so I believe it comes with an earlier version of VSTGUI :(. I guess I won't be able to do it then

Thanks
Yan
by pongasoft
Sun May 12, 2019 6:59 pm
Forum: VSTGUI
Topic: Global Drag and Drop
Replies: 2
Views: 159

Global Drag and Drop

I would like to implement a global drag/drop feature so that if a user drags and drop a file ANYWHERE in the UI, then I get a callback. How would I go about implementing such a thing? I tried to implement my own custom view which implement the onDrag/Drop functions and overlay it in the front, make ...
by pongasoft
Fri Apr 12, 2019 1:06 pm
Forum: VST 3 SDK
Topic: Clarification about IComponent::setState and IComponent::getState
Replies: 3
Views: 284

Re: Clarification about IComponent::setState and IComponent::getState

@abique: you may also want to check this thread viewtopic.php?t=516 in which I ran some experiments and provided a potential solution...

Yan