Topic: Developer
Nordfriese |
Posted at: 2024-11-14, 20:24
Careful – So in-game-specific sound functionality needs to be added to the Resource usage in terms of panel count is not much of a concern, any non-trivial UI layout can easily consist of a lot of deeply nested boxes. Top Quote |
andersand.net Topic Opener |
Posted at: 2024-11-14, 20:27
Good to know. I'll go for option 2 then Top Quote |
andersand.net Topic Opener |
Posted at: Yesterday 23:06
So, I've made a little progress, nothing visible yet, but the panels are there with some dummy controls for tracks in the playlist. I tried to reuse implementation practices from SoundOptions. This compiles and runs without errors, but the problem is now I don't understand why those dummy controls are not showing up in the sound options window below the sound options panel (which do show up)? Here's the work in progress code: I haven't figured out how to debug the code without resorting to writing to the log yet. I assume it would be helpful to be able to set breakpoints to figure things out faster. Any advice how to do that could be helpful PS. Note that I plan to revert -Werror in CMakeLists.txt before I make a PR. I just removed it temporarily to be able to compile stubbed code. Top Quote |
Nordfriese |
Posted at: Today 08:02
At a quick glance it seems you did not For debugging I recommend
Edited: Today 08:06
Top Quote |
andersand.net Topic Opener |
Posted at: Today 09:06
Great, debugging works like a charm It makes sense to actually add the checkbox control yeah, unfortunately adding it was not enough to make it visible. I tried adding it with Edit: My mistake, I removed the code to add(control) when removing the max_w and checkbox_width. It works now, with the changes you proposed. Thanks! Edited: Today 09:46
Top Quote |