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: 2024-11-15, 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: 2024-11-16, 08:02
At a quick glance it seems you did not For debugging I recommend
Edited: 2024-11-16, 08:06
Top Quote |
andersand.net Topic Opener |
Posted at: 2024-11-16, 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: 2024-11-16, 09:46
Top Quote |
andersand.net Topic Opener |
Posted at: 2024-11-22, 21:59
Here's a little progress update. As you can see the user interface work is mostly done, though I plan to make some more nested panels to improve the playlist padding, and standard panel background for the buttons, stuff like that. In the supporting code (in Any feedback on this is welcomed. Top Quote |