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

wxSmith development

<< < (16/34) > >>

cyberkoa:

--- Quote from: byo ---
Hello, everyone. It's been a while since I've been here because of these sleepless books-full nights and terrible exams-like days. Just give me few more days and I'll be back :D.

Cyberoka: BIG THX for Youre work. Cna You send me the source ? And maybe some description of problems You have with this widget.
and don't worry - I'm CVS-beginner too (started using it after gaining access to CodeBlocks' CVS). Buty If You don't mind I would like to work now like mandrav and rigkg22 at the beginning of their cooperation - You could send me the sourcee and I put this into CVS :). Hope it will change soon - I just need to get back to this project and prepare for new Coder :). And now ... argh, back to books :?
--- End quote ---

any kind of cooperation that will be fine for me , in fact I hv learned a lot from reading the wxSmith code, still have a lot to learn :)

Let me do some final cleaning of the source code before post it up .
One thing need to mention , my Code::Blocks CVS is not the latest update because the latest update revamp the interface which affect some plugin coding.  My Code::Blocks CVS version should be somewhere on early of June.

I shall post it after going back home , and write some description on the problem that I encounter.

cyberkoa:
Here are the files
http://us.f1f.yahoofs.com/bc/96491ee4_m418d23c5/bc/wxSmith-Combobox.zip?bfA3juCBjIkFen5d

Basically, it includes 2 new files , wxscombobox.h and wxscombobox.cpp , and others modified files.

One thing I have left out is the releasing memory usage of the wxArrayString that used in the wxscombobox , which I think should put in the destructor of each widgets class.
I do not change the original macro in defwidgets.h that have the blank destructor because I think this changes involve the change of the engine should decided by byo.

Feel free to modify it if you feel those code is not correct or uncomplete.

I only coded the XML load and XML save , other function like AddProperty is not coded yet.
Thanks.

rickg22:

--- Quote from: byo ---Cyberoka: BIG THX for Youre work. Cna You send me the source ?
--- End quote ---



--- Quote from: Cyberoka ---Here are the files (link)
--- End quote ---


 :roll: Someone needs to be given access to CVS... :lol:

cyberkoa:
Finally , I manage to come in this forum   :o

Ok , I have finished the code for wxListBox , and I have made icons for wxCombobox and wxListBox , which is the new feature introduced by byo in the latest CVS.

 Let me summarize my changes and enhancement
 1.  Add in wxListBox
 2.  Modified a macro in wxdefwidget.h , to add in destructors evDestroy() function. This is to release the memory used by wxArrayString.
 3.  I have made icons for wxCombox and wxListBox , I have no sense of art dunno looks ok or not  :oops:

 My discovery and suggestion
 1.  The default selection for wxComboBox and wxListBox , since they are defined as Int property , there is not upper bound checking.  Could it be better if we can design in such a way that we can choose to show the property in different form such as a combo box to limit the default selection to number of choices.


Finally, how can I commit the changes to CVS using Tortoise CVS?   :oops:

I am not familiar with CVS , I just want to update to the wxSmith branch .

mandrav:

--- Quote ---Finally, how can I commit the changes to CVS using Tortoise CVS?
--- End quote ---

First, add in CVS any new files you 've created (if any). To do this, select the new files, right-click and select "Add" from the tortoise menu.
Then, just right-click in the wxSmith top-folder (in a white space) and select "Commit". Fill the message log describing your changes and press OK :)

Yiannis.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version