Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxGridBagSizer pluin

(1/4) > >>

sunwukong:
Hi.

First of all, I'm a french guy. So I may not understand you and you may not understand me. Sorry for the errors I will make with my english (I use no translator).

For a personnal projet, I have thought that using a wxGridBagSizer item in wxSmith would be cool. I haven't found a plug-in that add this in CB so I've decided to create it myself. While I was trying to know how to do, it appears to me that I have two options :
- write a independant plug-in and work without modifying the existing things
- add a new feature in the wxSmith project (this mean in theory : modifying 4 files that already exist + adding 2 new files)

I have chosen the first (even if I think it is the worst way). Just because I only have to copy 2 files in the plug in directory of a nightly build instead of getting the CB source code and compile it with my new files. I wil try the second one later.

You can find the source code and the binaries for windows here : http://sun.wu.kong.free.fr/download/.

There is 4 problems with it :
- warnings while compiling the xpm files
- I have no idea on what to do when two (or more) items have the same position in the sizer
- I only have windows so it is not tested on other OS
- I am not a pro coder in C/C++ so I think I have done a lot of errors that I can't see

It works enough for me but I will be happy if you have coments or ideas.

Cryogen:

 Hi there,

I have been working extensively on wxSmith over the last year or so. I have almost got the wxGridBagSizer working there but have left it on hold recently due to some implementation difficulties. It will be done sometime soon-ish. In the meantime, go for it.

Cheers,

 Cryo.
 

Feneck91:
What about the possibility right now about adding wxGridBagSizer into wxSmith ?

Jenna:

--- Quote from: Feneck91 on July 17, 2012, 07:52:07 am ---What about the possibility right now about adding wxGridBagSizer into wxSmith ?

--- End quote ---

Please do not cross-post !

Which version of C::B do you useon (which platform ?

I have wxGridBagSizer in my C::B's on linux with svn r8133 (actually nightly for debian, fedora and redhat/centos on my server).

Feneck91:

--- Quote from: jens on July 17, 2012, 08:32:22 am ---
--- Quote from: Feneck91 on July 17, 2012, 07:52:07 am ---What about the possibility right now about adding wxGridBagSizer into wxSmith ?

--- End quote ---

Please do not cross-post !

--- End quote ---
Sorry for my crossing post and for digging old threads.... Done on morning, quickly before going to work...

Which version of C::B do you useon (which platform ?

I have wxGridBagSizer in my C::B's on linux with svn r8133 (actually nightly for debian, fedora and redhat/centos on my server).
If you have it is extremly recent one, I use Code::Blocks nighlt build 8086 in windows platforms...
Some post explain this needs 4 years ago, it seems to be complex to add this feature into wxSmith...

Navigation

[0] Message Index

[#] Next page

Go to full version