Commit Graph

2281 Commits

Author SHA1 Message Date
David Capello
d4a0b4b9eb Modified color selector (tabs replaced with buttons).
Mask button now is just one button (you don't need to select tab and then the "mask button").
2010-04-25 23:24:26 -03:00
David Capello
475398eb4b Fixed colorbutton_draw(). 2010-04-25 23:22:48 -03:00
David Capello
74356cf8b7 The color selector in color-buttons appears only when they are clicked. 2010-04-25 23:21:10 -03:00
David Capello
5bea28659e PopupWindow have not yellow background anymore. 2010-04-25 23:17:37 -03:00
David Capello
475857ebcf Removed unused value in draw_color(). 2010-04-25 23:14:58 -03:00
David Capello
e12c99f61d Avoid to reserve caption space in popup windows that do not have a caption. 2010-04-25 23:14:13 -03:00
David Capello
3cd3839feb Minor fixes for short color format in color_to_formalstring() function. 2010-04-25 23:12:50 -03:00
David Capello
0260452e3e Color buttons for checked-bg have imgtype=IMAGE_RGB. 2010-04-25 23:12:07 -03:00
David Capello
8e62794da0 Added validation in "Grid Settings" dialog to avoid negative grid width/height. 2010-04-25 21:30:29 -03:00
David Capello
befd81c63b Added "checked background configuration".
Now you can configure size and color of the checked background
used in transparent sprites.
2010-04-25 21:29:50 -03:00
David Capello
9c63b4f1ba Added more width to default combobox size. 2010-04-25 19:33:08 -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
5665b7dd1a Added grid_settings command (feature #2874433). 2010-04-25 15:31:44 -03:00
David Capello
182ee290d0 Modified "Tools Configuration" window layout. 2010-04-25 15:02:58 -03:00
David Capello
b8e49466ad Added support for vertical separators:
- New PART_SEPARATOR_VERT in skin.
- New SkinneableTheme::draw_part_as_vline() function.
2010-04-25 15:02:28 -03:00
David Capello
162e3efd97 Modified default bounds of "palette editor" window. 2010-04-25 14:40:40 -03:00
David Capello
a5e02323f2 Sprite Properties window now uses a grid. 2010-04-25 14:35:10 -03:00
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