Search found 12 matches

by Digital Larry
Tue Dec 03, 2019 2:18 pm
Forum: C++ Development
Topic: SetVirtualSizeHints (deprecated) and FitInside
Replies: 2
Views: 77

Re: SetVirtualSizeHints (deprecated) and FitInside

Thanks for your response. I'm not ignoring you, but I just wanted to get past this issue so I recompiled wxWidgets with the flag to enable 2.8 compatibility. I now get a deprecation warning but not a compile error. wxWidgets takes about 4 hours to compile on the Raspberry Pi which is one reason I'm ...
by Digital Larry
Sun Dec 01, 2019 2:36 pm
Forum: C++ Development
Topic: SetVirtualSizeHints (deprecated) and FitInside
Replies: 2
Views: 77

SetVirtualSizeHints (deprecated) and FitInside

I'm working with an old open source package using wxWidgets. The first time I got everything set up and compiling I didn't have this problem, but I had to wipe everything out and start over and this time I got a compile error on SetVirtualSIzeHints, e.g. virtual void SetVirtualSizeHints( int minW, i...
by Digital Larry
Fri Nov 29, 2019 7:53 pm
Forum: Component Writing
Topic: Looking for "gauge" control, but arc, donut or pie shaped
Replies: 4
Views: 246

Re: Looking for "gauge" control, but arc, donut or pie shaped

Hi, Keep in mind so that for the music player it is sometimes required for the user to re-position the place where the music is played. It will be much harder in the case of such custom-control. Unless you absolutely sure the user will not interact with the slider - go ahead. Thank you. Thanks for ...
by Digital Larry
Fri Nov 29, 2019 5:39 am
Forum: Component Writing
Topic: Looking for "gauge" control, but arc, donut or pie shaped
Replies: 4
Views: 246

Looking for "gauge" control, but arc, donut or pie shaped

I'm looking to represent the position of a music loop visually. Currently the program I'm modifying just uses a linear slider-derived control, but an arc/pie shaped thing delivers a much stronger sense of where you are especially if you're not looking directly at it. A couple examples of this type o...
by Digital Larry
Thu Nov 28, 2019 3:57 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

OK, I figured it out. mainSizer is the horizontally oriented wxBoxSizer for the per-track controls. Each column that gets added declares a new wxBoxSizer. "colsizer" is the variable that is reused for each column, with the exception of a couple that needed to be referenced after the fact (in another...
by Digital Larry
Thu Nov 28, 2019 2:24 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

I'm rebuilding wxWidgets on the Pi (last time I did this it took about 70 minutes). I'm a little skeptical about whether it will work (the debugging mode to highlight layout regions), because this app is sort of like a clock in that it updates the UI something like ten times per second, and I don't ...
by Digital Larry
Thu Nov 28, 2019 4:56 am
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

Also: In Debug mode, if you CTRL-ALT-SHIFT-middle click into a free space on the window, you should see some colored lines that display the sizer structure. These lines are just drawn into the wxClientDC, so they disappear on the next redraw. If you can manage to make a screenshot of that, please s...
by Digital Larry
Wed Nov 27, 2019 5:44 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

Thanks for your help. Here's the whole file. Yes, getting everything in place to build this takes quite a bit of effort!
looper_panel.cpp
(58.72 KiB) Downloaded 11 times
by Digital Larry
Wed Nov 27, 2019 5:29 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

Can you post the new code for comparison? In general, e.g. the three buttons "in gain", "thresh" and "feedb" are higher than they need to be. Same goes for the column next to them. You need to find out what makes these sizers grow in that direction. Do they grow even further if you make the window ...
by Digital Larry
Wed Nov 27, 2019 5:26 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Re: Trying to get things to line up vertically

Thank you for the response. a) I'd be happy if everything just stayed at a fixed size. The goal is to get this to display on a 7" LCD attached to a Raspberry Pi. Here is the result of my most recent adjustments where I include a wxSize of (60,30) when declaring the SliderBars (in gain, thresh, feedb...
by Digital Larry
Tue Nov 26, 2019 11:18 pm
Forum: C++ Development
Topic: Trying to get things to line up vertically
Replies: 10
Views: 231

Trying to get things to line up vertically

I'm working on trying to modify the GUI for the open-source project "sooperlooper" which is written using wxWidgets. https://github.com/essej/sooperlooper The code I am editing is looper_panel.cpp https://github.com/essej/sooperlooper/blob/master/src/gui/looper_panel.cpp Here's the original UI: sl-o...