Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: rickg22 on February 13, 2005, 08:39:04 am

Title: Idea for a dialog designer plugin
Post by: rickg22 on February 13, 2005, 08:39:04 am
Hi. I stumbled upon this wxWidgets link:
http://www.wxwidgets.org/manuals/2.5.2/wx_xrcoverview.html

It's a wxWidgets more-or-less-official XML-based resource framework called XRC (i noticed that code::blocks allows .xrc files to be included in a project).

My idea is that if we define a "XRC wxWidgets project" we can use a dialog editor that builds the corresponding XML.

Compare the  clean xml code (http://www.wxwidgets.org/manuals/2.5.2/wx_xrcoverview.html#xrcsample) with the "Hello world" in the sample wxwidgets project. In comparison with this pretty markup, all the C++ pointers and functions make me dizzy.

So, if we managed to make a dialog designer that uses this engine, and integrate it into code::blocks, it would be great! :) This way we can avoid the problems of C++ code generation and maintenance, and effectively separate the visual  design from the programming.

I say this because the visual part, which is "design", shouldn't be mixed with the source code, which is "programming".

I'd like to hear your opinions on this.
Title: Idea for a dialog designer plugin
Post by: mandrav on February 13, 2005, 09:22:00 am
Quote
(i noticed that code::blocks allows .xrc files to be included in a project)

Code::Blocks, actually, uses XRC files itself  ;)
All the dialogs (except the main application window) are built with XRCs...

Yiannis.