Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

converting cbeditor to wxnotebook need to have more atention

<< < (3/4) > >>

rickg22:
Yiannis: The c) was only if you had any other idea, since not always my suggestions are good.

Anyway, I had halted development in the hopes that Frog-o might have one of these days come up with a tabbed implementation. So, I suppose development is still on and conversion to tabs is postponed from the CVS tree until further notice (not that we won't still work on it).

Frog-o: OK let's do this. Instead of trying to change the layout etc etc, do this: Create a wxMDIChildFrame which will contain the tabs. That should be enough to make the necessary changes in the layout. When you finish doing the change to tabs, replace that window for a panel. Ta-da.

And please, go on with the steps i mentioned earlier. I still trust you, and know you can do it (unless you give up and pass the task to someone else). We'll be expecting your feedback in this blogoid thread.

mandrav:

--- Quote ---Anyway, I had halted development in the hopes that Frog-o might have one of these days come up with a tabbed implementation. So, I suppose development is still on and conversion to tabs is postponed from the CVS tree until further notice (not that we won't still work on it).
--- End quote ---

I mentioned it in my reply to frog-o:
I have converted C::B from MDI to wxNotebook, I just haven't commited it yet. I will do it tomorrow...

Yiannis.

frog-o:
mandrav i guess I owe you alot of appologize today.  I never ment for you to take my quote
that was  


--- Quote ---PLEASE MANDRAV TRY TO UNDERSTAND ME A LITTLE MORE AND TRY TO LOOK AT THING FROM A DIFFERT POINT OF VIEW. If something dose not sound right it is probbly not.
--- End quote ---


as shouting at you.  I just wanted to make it sould like a desprite plea for help.  It like I say for some reson we can't comunticate.   This is not your bad english is more of my bad knowlange of the langues on the forms amd again I will say I soory I offened you.

frog-o:
I emage even thou I have not tryed it it would be real ezzay to load changes of main frame at run time just reload the xrc into main fraim after changes.  Even tho I don't understand why you need to make changes to the ide at runtime.  You can make all the changes at devolpment that you want to with xrc.  I was think if they finished with wxsmith we could make all changes that we want ower ide to have in it and then reload it into the mainframe.  Just to make sure you understand me this would me that we would have to add control for wxdockkit libbary to wxsmith.    There are many comands for wxwindow that can also help like wxWindow::Reparent.  There are way to make the window disappare and repaire also you can read about it somewhere in the wxwindow doc.  I play around with this a bit.  Xrc is more flexible then what you may think.

mandrav:

--- Quote ---I emage even thou I have not tryed it it would be real ezzay to load changes of main frame at run time just reload the xrc into main fraim after changes.
--- End quote ---

I guess you have tried it and know that it works?

Keep in mind this one really important thing (that I think you keep missing): C::B is not an average monolithic app. The app knows almost nothing about the loaded plugins and the plugins know almost nothing about the host app.
The code needed to notify plugins that the XRC of the main app changed and they (i.e. those who add things in the main frame) should reparent themselves etc, is much more difficult to write, not to mention bugs-inviting.
It's really simpler to have 2 functions in the main frame, around 30 lines of code both, to create and update the IDE layout. It's there, it works and I don't see any reason to change it.


--- Quote ---Even tho I don't understand why you need to make changes to the ide at runtime.
--- End quote ---

I 'm sorry but I 'm tired of explaining the same thing over and over. Let's just accept the fact that you cannot understand it.


--- Quote ---Xrc is more flexible then what you may think.
--- End quote ---

Sure it is. For dialogs that do not change at run-time.

Yiannis.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version