Copyright © 2004-2005 Aron Dobos
Contents
Screenshot
Description
XCS is a dialog editor that can generate either wxWindows 2.4 or RS dialog resource files for inclusion in wxWindow projects.
File Formats
XCS saves dialog databases in *.xcd files. For compatibility, XCS supports loading of DED dialog editor (*.ddb) database files. However, it only exports *.xcd type databases.
Editing
Using XCS should be relatively straight forward. A list of the dialogs in the database is shown on the left, the editing view in the center, and the control property viewer/editor is on the right. Use the main toolbar to create new dialogs and controls. A currently somewhat limited array of editing functionality is available. It is recommended that one work slowly, because there is no Undo/Redo yet.
Multiple objects can be selected and moved around simulateously. This achieved by holding down the 'Control' key while selecting objects.
Note that platform differences may cause dialogs to appear slightly different from their appearance in the dialog editor when compiled. Since fixed-pixel positioning and sizing is used (no sizers or layout managers), leave sufficient space for controls.
Using RS Resources
To use RS resources, include the rsdialog.h and rsdialog.cpp source files in your project. Then extend the RSDialog class for your dialog. Call RSDialog::RunModal(..) with the string descriptor of the dialog to show. The string resource will be parsed and the dialog created in real time. There is no need for a wxResourceTable equivalent. Under most circumstances the real time dialog resource parsing should be fast enough to be unnoticeable.