News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Would like help with fixing wxGTK3 visual issues.

Started by ael, April 14, 2019, 09:39:00 PM

Previous topic - Next topic

ael

Hello

I am new to c++, and I would like to contribute to Code::Blocks. For start I want to help with this; http://forums.next.codeblocks.org/index.php/topic,22405.0.html, but I think I need some help.

The only things I have learned so far is; the files I need to work on are "notebookstyles.h" and "notebookstyles.cpp" (may not be only ones), it's called in "main.cpp", and where to find the wxWidget docs.

I am kind of lost on how to do what oBFusCATed mentioned, or what else to do. I would appreciate it if any one with knowledge and a bit of time can point me, at least abstractly, to the right direction.

Thank you!

oBFusCATed

This is the class you need to override: https://docs.wxwidgets.org/trunk/classwx_aui_default_tab_art.html
For gtk2 we've provided our implementation to wxwidgets. You can see it, but it is no longer usable with gtk3.

Here is an example of one in https://github.com/eranif/codelite/blob/099bd7268883a3511be62348a68e7d2bc4c44425/Plugin/clAuiMainNotebookTabArt.h

This is not an easy task for a beginner. You need to dig deep in several different codebases (gtk+'s would be really tough).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]