David Capello
50f4cd8a9d
Added SkinneableTheme::m_selected_skin member and "[Skin]/Selected" configuration variable to change the selected skin.
2010-04-06 22:30:18 -03:00
David Capello
c5442abcba
Moved data/jids/*.jid files to data/widgets/*.xml.
2010-04-06 22:14:33 -03:00
David Capello
571a735f3a
Fixed somekind of bug (it could happen when we access to invalid memory).
2010-04-01 00:08:08 -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
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
a7ecb08f2c
Fixed some GCC warnings and errors.
2010-03-30 09:48:19 -03:00
David Capello
ca25326d5d
Fixed some strange bugs that appears when a exception is thrown in file-loading process.
2010-03-28 16:18:49 -03:00
David Capello
ee878c87e9
Modified Palette class to contain all functions to manipulate it as function members.
...
Modified its implementation to use std::vector<> instead of a raw C array[].
Now the number of colors in the sprite is more relevant (e.g. we should be able to create sprites of 4bpp, 16 colors).
2010-03-28 12:15:32 -03:00
David Capello
61c1e08be1
Added RecentFiles C++ class to replace legacy C implementation of recent files.
2010-03-27 23:43:08 -03:00
David Capello
62d0c1db1d
New simplified color-bar (still WIP).
2010-03-27 19:41:39 -03:00
David Capello
74f5fd2f41
Some error reporting if skin.xml contains invalid cursors.
2010-03-27 19:23:24 -03:00
David Capello
9a58b21b08
Now draw_emptyset_symbol() uses a Vaca::Rect instead of JRect.
2010-03-27 17:03:25 -03:00
David Capello
ac27949623
Removed unused variables.
2010-03-27 16:25:18 -03:00
David Capello
a85efcded5
ASE will be the name for the next release.
2010-03-27 16:21:41 -03:00
David Capello
8ff997d2d2
Fixed a lot of important bugs in clipping code.
2010-03-26 09:57:56 -03:00
David Capello
706cc17748
Parts are specified in skin.xml now.
2010-03-26 08:31:47 -03:00
David Capello
15dc254f48
Smaller bottom area for tabs widget.
2010-03-24 22:50:14 -03:00
David Capello
7185d439d8
Fixed SkinneableTheme::draw_bounds() when the rectangle is too short (in width).
2010-03-24 22:08:07 -03:00
David Capello
a2c3517717
Cursors coordinates are specified in the default_skin.xml now.
2010-03-24 21:35:44 -03:00
David Capello
5af9b7809f
Fixed bug clearing tool icons.
2010-03-24 19:28:29 -03:00
David Capello
975049bdea
Removed _index_cmap. It was used to remap colors of the current palette (useful in 8 bpp modes).
2010-03-24 18:21:20 -03:00
David Capello
4ccb661bbf
Minilook for group of buttons (groupbut and buttons in "target" selector).
2010-03-24 17:49:46 -03:00
David Capello
0c54a2682c
Fixed a little problem with text in draw_slider() overlapping bottom border.
2010-03-24 17:30:15 -03:00
David Capello
271e1df6bd
Removed support for 8 bpp.
2010-03-24 13:56:31 -03:00
David Capello
db2bbef1cd
Fixed cursors focus when jguiscale > 1.
2010-03-22 00:09:44 -03:00
David Capello
3f1cad8505
Added setup_mini_look() function.
2010-03-21 23:18:30 -03:00
David Capello
9031c48773
Removed unused variable in gui_setup_screen().
2010-03-21 23:16:53 -03:00
David Capello
2966863d24
Fixed SkinneableTheme::draw_bounds() for small rectangles.
2010-03-21 22:04:13 -03:00
David Capello
87ba1dba88
Removed unused functions subclip/backclip.
2010-03-21 22:03:41 -03:00
David Capello
994f5e6284
Added mini-look (SkinProperty::isMiniLook) to buttons and sliders.
2010-03-21 21:28:32 -03:00
David Capello
782d3998c5
Fixed a flicker problem when the slider of layer-opacity in the state bar were used.
2010-03-21 21:27:13 -03:00
David Capello
015a4d713c
Added SkinProperty.
2010-03-21 21:25:38 -03:00
David Capello
c8b84732cd
Split _ji_set_font_of_all_widgets() in _ji_reinit_theme_in_all_widgets().
2010-03-09 00:43:28 -02:00
David Capello
719374718d
More jguiscale() usage.
2010-03-09 00:42:31 -02:00
David Capello
28b14cfc0a
Gui is regenerated and font is reloaded when the jguiscale() changes.
2010-03-08 23:35:32 -02:00
David Capello
3e1f0e1a63
Now the default font is loaded from the skin (skins/default_skin_font.pcx).
2010-03-08 23:34:48 -02:00
David Capello
5af4ed0d55
Renamed apply_gui_scale() to ji_apply_guiscale().
2010-03-08 22:58:10 -02:00
David Capello
6e97287339
Removed conditions about JI_INITIALIZED in SkinneableTheme::init_widget().
2010-03-08 21:37:53 -02:00
David Capello
9535b085fe
Removed guiscale() from ASE and added jguiscale() in Jinete.
...
With this change we can apply jguiscale() in some places like jalert and jfiles.
2010-03-08 00:42:41 -02:00
David Capello
0a7136a0b4
Added underline_height in jdraw_text() function.
...
Removed jdraw_widget_text() (deprecated).
2010-03-07 23:16:20 -02:00
David Capello
cb97884026
- All tools stuff refactored in various files/components.
...
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 17:47:45 -02:00
David Capello
1fdd045099
Fixed a little syntax error.
2010-03-07 16:41:40 -02:00
David Capello
d0514884de
Fixed a problem in gui_feedback() where the CurrentSpriteReader could be locked.
2010-03-07 15:25:47 -02:00
David Capello
5edc5696ca
Modified some ase_exception creations using PACKAGE name.
2010-03-07 15:20:50 -02:00
David Capello
65cb9c3517
Added constraint of guiscale() value depending height of the screen.
2010-03-07 15:18:39 -02:00
David Capello
1f29b67364
Applied guiscale() to some skinneable widgets.
2010-03-07 14:21:24 -02:00
David Capello
7da47af726
Renamed sheet.png to defaut_skin_sheet.png. Added some temporary icons in the sheet for future tools.
2010-03-07 12:03:47 -02:00
David Capello
2a78fdca92
Applied guiscale() to loaded skin.
2010-03-07 11:57:34 -02:00
David Capello
dc19778ecc
Added SkinneableTheme::apply_gui_scale() member function.
2010-03-07 11:55:24 -02:00
David Capello
c89b727b47
Missing RenderEngine::setPreviewImage.
2010-03-01 01:03:07 -02:00