57 Commits

Author SHA1 Message Date
Mark de Wever
3967001cb7 Add positioning and scaling to an image on the canvas.
With this feature the window can look much more like the original so
also made that change.
2008-04-09 19:04:01 +00:00
Mark de Wever
e2b44cf885 get_minimum_size() and get_best_size() now look at the actual text width. 2008-04-09 16:51:21 +00:00
Mark de Wever
b6b02b26e2 More refactoring, grids can now be nested properly...
...allowing better placement of widgets.
2008-04-09 15:31:07 +00:00
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
13bab2587d Add the initial gui definitions. 2008-04-05 14:12:42 +00:00