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
95fd6c697c
Change SIGNAL_COLORBUTTON_CHANGE to ColorButton::Change signal.
2011-02-20 19:37:42 -03:00
David Capello
69b7e2f8f7
Change StatusBar::m_progress from JList to std::vector<> type.
2011-02-16 00:03:56 -03:00
David Capello
2baa342a65
Remove "j" prefix from some files in gui library.
2011-01-30 19:12:10 -03:00
David Capello
d8a3d27c0f
Convert jbox widget to Box class.
2011-01-24 19:48:09 -03:00
David Capello
58b2c1bcd0
Improve palette editor's RGB/HSV sliders.
...
+ Added SkinSliderProperty and ISliderBgPainter to draw a customized background in sliders.
+ Moved SkinTheme to src/skin/ directory.
2011-01-24 00:03:38 -03:00
David Capello
36e605bdf2
Move jmalloc/jfree to base/ library as base_malloc/free (remove new/new0/renew macros).
2011-01-23 19:19:18 -03:00
David Capello
cb6d70521f
Replace jwidget_dirty/invalidate and Widget::dirty functions with new Widget::invalidate* member functions.
2011-01-21 19:45:04 -03:00
David Capello
86e145f0ed
Remove jwidget_get_parent/manager/parents/children/pick/has_child functions.
2011-01-21 18:54:47 -03:00
David Capello
74b7442ae4
Replace jwidget_get/set_theme with Widget::get/setTheme.
2011-01-21 18:08:25 -03:00
David Capello
fc263ddb88
Move SkinneableTheme in src/modules/ directory to SkinTheme in src/.
2011-01-21 17:29:45 -03:00
David Capello
cf2f042cbf
Rename CommandsModule::get_command_by_name to getCommandByName.
2011-01-20 20:49:03 -03:00
David Capello
3887173fac
Rename all commands to camel case.
2011-01-20 20:46:58 -03:00
David Capello
8e8ac7aa50
Refactor all member functions of Context class to camel case.
2011-01-20 19:58:11 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00
David Capello
02e82a326f
Fix null pointer reference for tools without icons in StatusBar::onProcessMessage.
2010-12-11 15:28:28 -03:00
David Capello
551efd4313
Convert jslider to Slider class.
...
+ Changed JI_SIGNAL_SLIDER_CHANGE to Slider::Change signal.
2010-12-04 16:13:21 -03:00
David Capello
3683e778d1
Fix memory leak in StatusBar::onProcessMessage().
2010-10-26 15:22:33 -07: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
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
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
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
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
7b272f86f7
Add button in status bar to change the transparent color of pixels in movement in the current editor.
...
* Add Editor::setMaskColorForPixelsMovement() method.
* EDITOR_STATE_MOVING_PIXELS is not a particular state because we can move scroll while we are moving pixels.
* Rename EDITOR_STATE_MOVING_SCROLL to EDITOR_STATE_SCROLLING.
* Add StatusBar::show/hideMovePixelsOptions and StatusBar::getTransparentColor().
2010-08-11 21:48:12 -03:00
David Capello
978f39d721
Do not use app_get_statusbar() inside StatusBar::onProcessMessage().
2010-08-11 21:28:51 -03:00
David Capello
cc65870800
Rename StatusBar::m_commands_box to m_commandsBox.
2010-08-11 21:28:23 -03:00
David Capello
a6a53bd141
Minor changes in statebar.cpp/h comments.
2010-08-11 21:25:04 -03:00
David Capello
4e72997a02
Use Allegro's ASSERT() instead of assert().
2010-08-03 23:33:44 -03:00
David Capello
ec7795fc33
Rename Widget::msg_proc to Widget::onProcessMessage.
2010-08-02 21:29:56 -03:00
David Capello
1fe816d2b3
Change layer numbers (0, 1, 2, ...) with letters (A, B, C, ...) in status-bar.
2010-08-02 20:12:40 -03:00
David Capello
ce2f1379a3
Minor aesthetic modifications to state-bar.
2010-08-01 13:16:02 -03:00
David Capello
a0bbb5dfab
Renamed locked_sprite_exception to LockedSpriteException.
2010-07-31 12:28:03 -03:00
David Capello
51fdc7184e
Fixed compilation errors in gcc 3.4.
2010-07-23 20:01:52 -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
449cdd686f
Added Donate command.
2010-07-03 13:36:39 -03:00
David Capello
b334706cce
Added StatusBar::clearText() member function.
2010-06-10 23:58:48 -03:00
David Capello
d79d29c1a5
Now when you pass the mouse over a tool button, the tool name and shortcut are shown in the status bar.
...
Added StatusBar::showTool().
2010-04-24 01:55:51 -03:00
David Capello
f0c2ae6991
State bar shows alpha value when a color is being shown.
2010-04-24 01:28:33 -03:00
David Capello
f2265b2034
Improved color indicators in status bar (StatusBar::showColor()).
2010-04-24 01:06:30 -03:00
David Capello
1e3e4a7bc7
Now SkinneableTheme::draw_bounds*() member functions
...
receive destination BITMAP. With this we eliminated all
hacks of the ji_screen <-> double-buffer switching style.
2010-04-23 22:36:40 -03:00
David Capello
8720d156e5
Added Editor::flashCurrentLayer() for when the current layer is changed.
2010-03-30 23:40:01 -03:00
David Capello
ebe068b211
StatusBar::showTip now show the text in the same status-bar too (redrawing it).
2010-03-30 23:38:52 -03:00
David Capello
dd6da141c6
Buttons in the status bar now give us the possibility to change the current layer.
2010-03-30 22:46:43 -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
911c2dca8f
The state-bar shows the name of the current layer when there is just one layer.
2010-03-29 00:12:07 -03:00