Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
How to improve tabs in C::B
(1/1)
starship:
Hi,
I'm new to C::B but already addicted to it. I used to work with Visual C++ 2005 so it's a big step for me.
But as I'm discovering all the possibilities given by C::B, I'm wondering if there is an easy way to improve tabs. In fact, i'm a big fan of the way, tabs are used in Eclipse IDE. Like when you double click on one tab, the window takes all the screen.
Do you think, this kind of feature can be easily add to C::B ? If it is, I can spend some time on it.
Sorry if you don't understand very well my english (french guy inside :/)
Jenna:
It can be implemented, even if it is not so easy to implement, because it also effects the saving of the perspectives.
I have a working patch for this, even if I do not use this feature.
But we will use wxAuiNotebook instead of wxFlatNotebook in the near (?) future.
I had to patch the flatnotebook sources to get the double-click event, but the sources are part of C::B.
wxAuiNotebook also does not provide an event, if the tab gets double-clicked, and we can not ship a patched version of wxWidgets with our sources.
That's why the patch never made it into trunk.
If we have updated the sources, I will have a look if it is possible to find an easy way to implement this feature, but I'm not sure whether it can be done with a reasonable effort.
Alatar:
--- Quote from: jens on March 30, 2009, 11:25:04 am ---But we will use wxAuiNotebook instead of wxFlatNotebook in the near (?) future.
--- End quote ---
Is work under this thing is running? Can I get sources for see progress and, may be, help you to implement this?
MortenMacFly:
--- Quote from: Alatar on June 05, 2009, 09:50:31 pm ---Is work under this thing is running? Can I get sources for see progress and, may be, help you to implement this?
--- End quote ---
It's in an own branch you can test freely. Checkout the wxfnb_to_wxaui branch and try yourself. It's usually pretty much in synch with trunk.
Navigation
[0] Message Index
Go to full version