nx_controls
"Ditch your GUI
designer and get back to coding!”
Compiled
on:
http://www.bloodshed.net/dev/index.html
What is
nx_controls?
nx_controls is a set
of wrapper classes
for wxWindows GUI classes which greatly reduce the level of effort
required to
write your GUI related code.
The project at this point is very much a proof of concept. The nx_controls classes
currently
include the following features:
- no
event tables
- no
requirement for event ids
- all components of the GUI are
inserted
(ie. <<) into their parent component (this includes
panels, controls,
menus and even columns in multi-column list boxes)
- the
layout and size of all controls is automatically handled using wxSizers
via
nx_Groups (which can be nested)
- the
structure of the code reflects the structure of the GUI
- Now
with pipes
– GUI elements can transparently
pass information between themselves.
For example a listbox will automatically populate a
textctrl which when
the contents are edited by the user will automagically update the
selected
listbox entry (if there is one) or add the contents to the end of the
list. Similar
functionality
can easily be achieved for other elements via a single function call.
See the project
documentation for more details.
Most of these concepts are demonstrated in the code sample below:
Click
here to view the result.
Note
that only a basic set of wxWindows controls are currently
supported by nx_controls. Additonal controls will be added if
there is sufficient interest in the concepts
demonstrated here.
A simple Guide for
Programmers is now available. The nx_controls
Project
is currently hosted on SourceForge.net.
If you want to use nx_controls you should download the latest zip file
from the
project there. The correct nx_controls coding format is
demonstrated in
the test app source code included along with nx_Interface.hpp in the
zip
archive.
Also see the NxNet
Project site for
another example implementation using nx_controls.
Your comments and feedback
regarding
the concepts and ideas demonstrated in the project are most welcome.
Please post your comments/feedback/requests at the nx_controls
Project site
on Sourceforge.
Author: Chris
Aitken