Code::Blocks Forums

User forums => Help => Topic started by: Ael on April 14, 2019, 09:39:00 pm

Title: Would like help with fixing wxGTK3 visual issues.
Post by: Ael on April 14, 2019, 09:39:00 pm
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.codeblocks.org/index.php/topic,22405.0.html (http://forums.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!
Title: Re: Would like help with fixing wxGTK3 visual issues.
Post by: oBFusCATed on April 15, 2019, 02:05:44 am
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).