Commit graph

7 commits

Author SHA1 Message Date
Mark de Wever
0f420d967a Started to implement the grid flags:
- panel no longer decends from a grid but contains one, give less problems with
  the functions with the same name.

- flags are read from the .cfg file.

Still more testing and some cleaning up is required.
2008-04-07 18:16:30 +00:00
Mark de Wever
941bc3dc59 Made text_font_size mandatory and fixed all content to obey that.
Cleaned up some std::cerr to use proper logging.

Rather ugly proof-of-concept to get the cursor working in a
text_box. This still needs quite some polishing but the basics work.
2008-04-06 14:06:28 +00:00
Mark de Wever
2f2abf7cd0 Another cleanup patch, which makes code more generic.
Still more room for improvement in that area.

Add some more states to labels and text boxes.
2008-04-06 08:08:03 +00:00
Mark de Wever
a98d2bf535 Move the tcontrol into its own file.
Made some code in the widgets more generic and moved it into the
tcontrol class.
2008-04-05 21:51:46 +00:00
Mark de Wever
fea91aaf89 Make the text boxes more useful, still a WIP. 2008-04-04 15:37:59 +00:00
Mark de Wever
dd0de44f8e Allow a textbox to be fully redrawn,
...this needs to be more generalized for all widgets.
2008-04-03 06:55:59 +00:00
Mark de Wever
2371f463b5 Added proof-of-concept text_box class.
Fixed a bug, set_label didn't set the dirty flag.

Small improvements in the window builder to support more widgets.
2008-03-26 17:11:11 +00:00