Commit Graph

134 Commits

Author SHA1 Message Date
David Capello
36d532df21 Rename src/gui/jwidget.cpp|h to src/gui/widget.cpp|h. 2010-10-02 11:19:09 -03:00
David Capello
8f6ae77a2e Rename src/gui/jlabel.cpp|h to src/gui/label.cpp|h. 2010-10-02 11:04:10 -03:00
David Capello
3721064c8b Rename src/gui/jbutton.cpp|h to src/gui/button.cpp|h. 2010-10-02 10:59:14 -03:00
David Capello
7f96084c88 Rename src/gui/jwindow.cpp|h to src/gui/frame.cpp|h. 2010-10-02 10:47:58 -03:00
David Capello
ffd0f17879 Move all undo_*() functions as members of Undo class. 2010-09-30 23:55:35 -03:00
David Capello
9e419c418f Refactor Stock class to contains methods instead of stock_*() functions. 2010-09-30 22:38:26 -03:00
David Capello
109d6a072f Remove jstring class replacing it with the new base::string and new functions to manipulate strings. 2010-09-30 15:34:12 -03:00
David Capello
aa397c4fbf Add dirExists() member function in FileSystemModule. 2010-09-26 18:26:38 -03:00
David Capello
cb3dd70fb8 Move Jinete library to src/gui directory (future gui-lib). 2010-09-26 15:59:32 -03:00
David Capello
cd6b8d3d23 Move Signal/Slot/Bind stuff to base-lib. 2010-09-25 17:20:59 -03:00
David Capello
28d09af036 Move Point/Size/Rect classes to a new gfx-lib. 2010-09-25 16:22:32 -03:00
David Capello
3ec3bbbef8 Refactor undo_clear_redo/set_label/get_next_*_label -> Undo::clearRedo/etc. 2010-09-19 17:44:06 -03:00
David Capello
85766ea915 Refactor undo_do_undo/redo -> Undo::doUndo/Redo. 2010-09-19 16:25:18 -03:00
David Capello
b3546cda94 Refactor undo_can_undo/redo to Undo::canUndo/Redo. 2010-09-19 15:42:40 -03:00
David Capello
12ce788d11 Remove undo_new/free/enable/disable/is_enabled/is_disabled, add Undo::is/setEnabled. 2010-09-19 15:23:15 -03:00
David Capello
3246e00db4 Camel-case for Undoable class. 2010-09-19 10:33:07 -03:00
David Capello
198bd648e5 Refactor Layer::add/remove/get_cel to add/remove/getCel. 2010-09-19 00:26:33 -03:00
David Capello
4874f455f1 Refactor Layer::get/set_name to Layer::get/setName. 2010-09-19 00:03:32 -03:00
David Capello
e810b1452b Rename "fuzziness" to "tolerance" in maskcol.cpp file. 2010-09-18 23:57:57 -03:00
David Capello
46e847ef80 Remove internationalization stuff.
- Remove "_" macro.
- Remove src/intl/ directory.
2010-09-18 23:54:56 -03:00
David Capello
ec13504c06 Remove core/core.h-cpp.
- App class contains the running mode (isGui() flag).
- LoggerModule contains the verbose flag.
- Remove is_interactive().
2010-09-18 17:36:21 -03:00
David Capello
1f88934542 Remove "static" member functions from RecentFiles. Now App has a RecentFiles member and it must be accessed through the App singleton. 2010-09-18 00:28:24 -03:00
David Capello
3f9e947ea9 Convert color_t type to Color class.
+ Add color_utils namespace and move useful routines for colors right there.
+ Add test_color.cpp.
2010-08-25 00:26:37 -03:00
David Capello
733ee5b705 Rename colbut.h to color_button.h. 2010-08-23 18:25:57 -03:00
David Capello
8727390b2d Rename colbar.h to color_bar.h. 2010-08-23 18:11:47 -03:00
David Capello
7d47093acc Convert jbutton widget to ButtonBase, Button, CheckBox, and RadioButton C++ classes.
+ Add ButtonBase::Click signal.
+ Button does not close the window by default (you have to configure this action manually when Click signal is triggered).
+ Add "closewindow" attribute to <button> widget in XML files.
+ Move "bevels" to SkinProperty.
+ Convert colorbutton widget in ColorButton C++ class.
2010-08-23 17:41:19 -03:00
David Capello
cf0f7d9663 Remove jfilesel.[ch] file. 2010-08-22 22:10:43 -03:00
David Capello
88305ec84c Move functions to access file system items (FileItem) in a new IFileItem interface. 2010-08-10 23:30:15 -03:00
David Capello
4e72997a02 Use Allegro's ASSERT() instead of assert(). 2010-08-03 23:33:44 -03:00
David Capello
a0bbb5dfab Renamed locked_sprite_exception to LockedSpriteException. 2010-07-31 12:28:03 -03:00
David Capello
100073f986 Added BITMAP argument in jdraw_text() function. 2010-07-26 00:28:24 -03:00
David Capello
e0ff9d5ee8 Removed JI_SIGNAL_REMOVE_CHILD and JI_SIGNAL_NEW_PARENT.
These signals do not make sense when we are removing a widget that is being destroyed.
2010-07-19 18:57:16 -03:00
David Capello
f2f1bb26f2 Replaced old DIRS structure with ResourceFinder class. 2010-07-16 16:56:45 -03:00
David Capello
c4ab208e4b Replaced jwidget_show/hide/is_visible/is_hidden functions with Widget::isVisible/setVisible methods. 2010-07-04 12:03:14 -03:00
David Capello
47aa64efe4 Removed jwidget_enable/disable/is_enabled/is_disabled functions. 2010-07-03 15:26:27 -03:00
David Capello
447f6438a4 Removed jwidget_select/deselect/set_selected/is_selected/is_deselected functions. 2010-07-03 15:03:26 -03:00
David Capello
cb0488b50b Refactored jlabel widget to Label class. 2010-07-03 13:48:14 -03:00
David Capello
d8d66782c8 Added to the file selector dialog the list of recent paths (which is generated from the list of recent files). 2010-06-25 00:27:04 -03:00
David Capello
4dff5fac85 Converted combobox widget to a class (ComboBox class derived from Widget). 2010-06-24 23:44:59 -03:00
David Capello
4de7f0e7c0 Added BITMAP* parameter in draw_emptyset_symbol() function. 2010-06-01 22:24:07 -03:00
David Capello
3f6f1471fd Removed mouse speed option.
Removed _setup_mouse_speed() function and dialog/options.cpp file.
All the code is in cmd_options.cpp now.
2010-04-25 15:52:19 -03:00
David Capello
f0f5bafd78 Refactored all jwidget_has_focus/mouse/capture functions to member functions.
Added Widget::hasFocus/Mouse/Capture and Widget::hasMouseOver() members.
Removed JI_HARDCAPTURE flag (it was used only by button widget).
2010-04-25 12:03:25 -03:00
David Capello
ed792eba1e Added getRgbMap() methods to Sprite class.
Added Palette* parameter to image_to_allegro() function and Image::to_allegro().
Removed orig_rgb_map.
Removed rgb_map usage (the Allegro global variable).
2010-04-20 23:44:31 -03:00
David Capello
10781dcf5f Removed Context::getFg/BgColor member functions.
Modified color_get_*() so they do not need "imgtype" parameter.
ColorBar class is public (defined in colbar.h).
Added ColorBar::Fg/BgColorChange signals.
Converted palette editor widget to a C++ class (PalEdit derived from Widget).
Modified the "Palette Editor" (F4 key) to be non-modal (still WIP).
2010-04-10 17:01:56 -03:00
David Capello
c5442abcba Moved data/jids/*.jid files to data/widgets/*.xml. 2010-04-06 22:14:33 -03:00
David Capello
475d0eeb1b Refactored Sprite class: no public variable members, all functions sprite_* go as Sprite function members, pimpl idiom. 2010-03-30 21:43:18 -03:00
David Capello
67c678a690 Background/padding color in Animator Editor is equal to Sprite Editor one (from SkinneableTheme). 2010-03-28 16:44:34 -03:00
David Capello
1c8705a8cf Minor change: Replaced one JRect to Vaca::Rect. 2010-03-27 19:19:42 -03:00
David Capello
1fe1e2ff7b Removed real-time dithering option (because 8 bpp is not supported anymore). 2010-03-24 18:06:28 -03:00
David Capello
0f597f747d Removed tips. 2010-03-24 17:24:28 -03:00