Search found 128 matches

by howardantares
Wed Feb 26, 2020 10:29 pm
Forum: VSTGUI
Topic: Centering a CView inside a parent container that stretches?
Replies: 2
Views: 252

Re: Centering a CView inside a parent container that stretches?

I found a way around it, by overriding setViewSize in the parent container (which I already had a custom-derived class for), and moving the child view myself. Strange that such a thing is not needed for another view whose parent is simply the editor. I thought that was the purpose of those flags in ...
by howardantares
Wed Feb 26, 2020 7:43 pm
Forum: VSTGUI
Topic: Centering a CView inside a parent container that stretches?
Replies: 2
Views: 252

Centering a CView inside a parent container that stretches?

I have a CViewContainer which auto-sizes to keep attached to the window borders when resizing the window. Inside this container, I have added a new CView that I want to stay centered horizontally as the parent stretches, but stay the same distance from the top. To do this, in the child CView's defin...
by howardantares
Tue Aug 13, 2019 7:54 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 1267

Re: StudioOne and HiDPI under v4.8?

We decided to roll back to 3.6.6, since this is just a minor release of our plug-in, and we've had a couple of other strange issues with the new SDK and our (very) old code. Doing so fixed several issues, and will allow us to release asap. We'll update to the new SDKs when we do a complete rewrite (...
by howardantares
Mon Aug 12, 2019 9:26 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 1267

Re: StudioOne and HiDPI under v4.8?

I haven't tried that yet. It will need to be AGainSimple, since I am using the SingleComponentEffect class. I'll try to get that one up and running and see.
by howardantares
Fri Aug 09, 2019 3:05 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 1267

Re: StudioOne and HiDPI under v4.8?

I sent an email to someone at PreSonus, to see if they have any insight into this. If there is no resolution available, then I'll have to revert back to VST GUI 4.3. Is anyone else seeing this happen with 4.8 in Studio One?
by howardantares
Fri Aug 02, 2019 7:34 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 1267

Re: StudioOne and HiDPI under v4.8?

Shoot. That doesn't work, because setZoom() checks if setSize() returns true before applying the new scale factor, but setSize() returns false because the size isn't seen as changing at this point. That causes setZoom() to not apply the new scale factor, so my window still shows up twice as big as i...
by howardantares
Fri Aug 02, 2019 6:52 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 1267

Re: StudioOne and HiDPI under v4.8?

It looks like open() has not been called yet when setContentScaleFactor() is called, so getFrame() returns NULL, and the scale factor is not passed on to the frame. I assume that is why this is not working as expected. Which is unfortunate, because we tell users to use the VST3 version in StudioOne ...
by howardantares
Fri Aug 02, 2019 6:10 pm
Forum: VSTGUI
Topic: AAX problem with VSTGUI 4.8: CFrame is "final"
Replies: 3
Views: 724

Re: AAX problem with VSTGUI 4.8: CFrame is "final"

I had a number of problems trying to modify CFrame to work like it used to in AAX, and just gave up. (The main problem was that removing the instance and then creating a new one always caused a crash because of something not being destroyed properly, apparently.) So I've gone back to VST 3.6.6 and i...
by howardantares
Wed Jul 24, 2019 11:17 pm
Forum: VSTGUI
Topic: AAX problem with VSTGUI 4.8: CFrame is "final"
Replies: 3
Views: 724

Re: AAX problem with VSTGUI 4.8: CFrame is "final"

Obviously, I can edit that file and remove the "final" keyword, but I would really like to know *why* it was added, and whether removing it would alter any expected behavior when using the CFrame class. Actually, looking deeper, it's more than just removing that keyword. All the "virtual" specifiers...