David Capello
ebf8515a30
Fixed possible dead-pointers deleting a widget.
2010-04-25 12:13:59 -03:00
David Capello
da072b79e9
Moved icons to data/icons/ directory.
2010-04-25 12:05:18 -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
314e59dae1
Now the user can move selected pixels (still WIP).
...
Details:
Added EDITOR_STATE_MOVING_PIXELS state to Editor.
Added PixelsMovement helper class.
Added Undoable::paste_image().
2010-04-24 21:23:40 -03:00
David Capello
c65de92e47
Added Editor::controlInfiniteScroll() member function.
2010-04-24 21:04:03 -03:00
David Capello
220df93c35
Fixed: You cannot change the frame or fg/bg color when you are drawing using the mouse wheel.
2010-04-24 16:55:39 -03:00
David Capello
c7f0b368f7
Added support to load .ico files (still WIP).
2010-04-24 16:11:48 -03:00
David Capello
a3799e4084
Fixed "minwidth" attribute of "brush_size" field.
2010-04-24 16:11:14 -03:00
David Capello
20c4ac5235
Added ToolInk::isCelMovement(). Now "Move" tool moves cel.
2010-04-24 16:10:48 -03:00
David Capello
bb6815524f
Refactored 'extras' stuff in Sprite class.
...
Now it is called "ExtraCel" which is the union of a Cel and an Image.
2010-04-24 16:09:35 -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
e12fd03b7b
Fixed a bug in convert_xmlelement_to_widget() setting maxwidth when only minwidth where specified.
2010-04-24 01:36:11 -03:00
David Capello
28074c0e0c
Added "wheel actions". The new behavior for the mouse wheel is this:
...
wheel=zoom,
alt+wheel=change fg color,
ctrl+wheel=change frame.
2010-04-24 01:31:35 -03:00
David Capello
c8436b73e3
Better feedback for eyedropper tool (now the eyedropper tool is controlled by the editor as "Alt+click").
2010-04-24 01:30:24 -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
e145ea63d7
Removed MODE_VERBOSE in beta version.
2010-04-24 01:22:35 -03:00
David Capello
f2265b2034
Improved color indicators in status bar (StatusBar::showColor()).
2010-04-24 01:06:30 -03:00
David Capello
21a979874b
Added support for alpha (in skin graphics) in ToolStrip JM_DRAW message.
2010-04-24 00:13:00 -03:00
David Capello
b0f9b75198
Updated about text.
2010-04-23 23:58:54 -03:00
David Capello
c1dfcc04f7
The ToolStrip is shown only for ToolGroups with more than just one tool (bug reported by Ilija).
2010-04-23 23:26:22 -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
917127ce37
Added alpha support for skin sheet.
2010-04-23 21:56:59 -03:00
David Capello
0feed51cde
Fixed problem in CurrentGfxModeGuard changing gfxmode when it is not necessary.
2010-04-23 21:55:10 -03:00
David Capello
967d0fef39
Fixed problem with Ctrl+mouse wheel over the color-bar (reported by Ilija).
...
Renamed ColorBar::m_colorsPerColum to m_colorsPerColumn.
2010-04-23 21:49:50 -03:00
David Capello
a76473bf9d
Fixed problem picking non-indexed colors.
2010-04-23 19:13:55 -03:00
David Capello
210c127477
Removed unused local variable "imgtype".
2010-04-23 19:13:43 -03:00
David Capello
2c49990420
Added SkinneableTheme::reload_skin() to reload the skin sheet.png file when you press F5.
2010-04-23 19:03:09 -03:00
David Capello
e555f78996
Fixed OpenFilecommand::execute() to open files with errors (these errors in loading process are shown anyway).
2010-04-23 19:02:17 -03:00
David Capello
3e8c38ad91
New icons for tools by iLKke.
2010-04-23 19:00:37 -03:00
David Capello
f24dc119ff
Some PRINTFs in gui_flip_screen() to catch the lost screen bug.
2010-04-23 18:50:12 -03:00
David Capello
22b51d20d7
More PRINTF in execute_command() to trace execution of commands.
2010-04-23 18:49:40 -03:00
David Capello
b7410ace5d
Added ASE_BETA flag in config.h
2010-04-22 19:00:22 -03:00
David Capello
233fa80850
Added a possible fix to bug #2980428 . It needs some testing.
2010-04-22 18:37:54 -03:00
David Capello
cc12e8e88e
Added GfxMode and CurrentGfxModeGuard classes.
...
Now ConfigureScreen command uses these classes.
2010-04-22 18:28:12 -03:00
David Capello
47ed48468a
Moved some files from ASE_SOURCES to COMMON_SOURCES.
2010-04-22 18:19:00 -03:00
David Capello
7459c7b6b6
Fixed a couple of warning for comparisons between size_t and int.
2010-04-20 23:46:03 -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
a9ab9cc30d
Fixed thumbnails generation of cels (using the palette of the cel's frame).
2010-04-20 23:35:10 -03:00
David Capello
9a95a40e92
Added RgbMap class (this class will replace rgb_map Allegro usage).
2010-04-20 23:32:44 -03:00
David Capello
834a2cfe49
Added Palette::m_modifications member.
2010-04-19 22:43:41 -03:00
David Capello
5c00d14cc0
Replaced jwidget_flush_redraw recursiveness with a std::queue.
2010-04-19 22:42:58 -03:00
David Capello
19483aed3c
Changed calls from jwidget_pick to Widget::pick.
2010-04-19 22:41:35 -03:00
David Capello
3d679357bc
Added -O3 and -DNDEBUG flags in PROFILE mode with gcc compiler.
2010-04-19 22:39:53 -03:00
David Capello
abc54a0e2e
Fixed bug #2988166 compilation error in unix (EBUSY undefined).
2010-04-16 09:15:55 -03:00
David Capello
bbe7205e4f
Fixed compilation error in gcc (cstdarg is need for va_list).
2010-04-13 21:55:07 -03:00
David Capello
7869642c83
Quantize a palette for RGB images when they are loaded.
2010-04-12 21:41:26 -03:00
David Capello
8ecc957fb2
Fixed a bug in update_sliders_from_color().
2010-04-11 17:42:18 -03:00
David Capello
bb69d63883
Fixed palette_editor_change_hook() to update entry widgets.
2010-04-11 17:42:01 -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
37e08c1a4a
Context class is Vaca::NonCopyable now.
2010-04-10 16:56:26 -03:00