Commit Graph

19 Commits

Author SHA1 Message Date
David Capello
14dd4e7ae2 Add GUI library stuff into "ui" namespace (now ui-lib). 2012-06-17 22:02:54 -03:00
David Capello
42bb192a24 Remove commented code from combobox.cpp. 2012-06-16 00:08:05 -03:00
David Capello
8c13c32ac0 The combobox button isn't a focus stop. 2012-06-16 00:06:54 -03:00
David Capello
02e8c66da4 Remove signals and hooks in GUI code.
Several refactoring tasks where made:
- Removed the old Widget::id field (JID).
- Renamed Widget::get/setName to get/setId.
- Moved load_widget_from_xmlfile() to app::load_widget and WidgetLoader
  class.
- Removed jhook structure & jwidget_add_hook function. Hooks were replaced
  subclassing widgets.
- Added InitThemeEvent class and Widget::onInitTheme member function.
2012-06-15 23:37:59 -03:00
David Capello
7d0bed8341 Refactor jmanager to gui::Manager class. 2012-04-15 15:21:24 -03:00
David Capello
46bc974d3b Refactor: Convert jlistbox and jlistitem to ListBox and ListBox::Item classes. 2012-04-05 23:19:32 -03:00
David Capello
f8f52f75fa Refactor: replace jwidget_magnetic/expansive/decorative/focusrest with member functions of Widget class. 2012-04-05 19:00:19 -03:00
David Capello
b8fbaad7fb Replace Allegro Sprite Editor or ASE with ASEPRITE in all files. 2012-01-06 01:12:57 -03:00
David Capello
02a9d50524 Update copyright year to 2012. 2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36 Convert all newline to LF style and remove all tabs.
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
26c2fff7d0 Add ComboBox::Change signal (to replace JI_SIGNAL_COMBOBOX_SELECT in the future). 2011-08-07 22:22:48 -03:00
David Capello
63f163439f Remove unused JI_SIGNAL_COMBOBOX_CHANGE signal. 2011-08-07 22:08:24 -03:00
David Capello
ff897fea34 Remove JMessage and jmessage union, use Message* and Message instead. 2011-04-02 13:14:07 -03:00
David Capello
0bd6e19093 Replace jwidget_add_child/remove_child/replace_child with Widget's methods. 2011-03-29 21:35:17 -03:00
David Capello
df01255b51 Use OVERRIDE macro in more member functions (onProcessMessage, etc.). 2011-03-27 20:42:16 -03:00
David Capello
6d5531b998 Replace old gfx-data with graphics from the skin sheet.
+ Removed gfxdata.cpp file.
+ Removed get_gfx() from modules/gfx.h/cpp.
+ Added skin parts for each removed graphics of gfxdata.
+ Added IButtonIcon interface and an implementation for skin theme.
+ Removed "icon_buttons" from gui.cpp.
+ Now icons in button are set through set_gfxicon_to_button function.
+ Removed from Theme class check/radio_icon_size member variables
  (they are replaced with the new IButtonIcon interface).
+ Removed jdraw_inverted_sprite(), now each icon has it normal/selected
  version in the skin sheet.
2011-03-06 16:15:05 -03:00
David Capello
ad12af7c8b Refactor the entire view widget to View, Viewport, and ScrollBar C++ classes. 2011-02-20 18:35:21 -03:00
David Capello
f96d1f7fa3 Move jwidget_init_theme() to Widget::initTheme(). 2011-02-15 09:00:29 -03:00
David Capello
2baa342a65 Remove "j" prefix from some files in gui library. 2011-01-30 19:12:10 -03:00