David Capello
9a15126682
Fix issue 188: Pick foreground color with right mouse button
2014-08-19 08:17:57 -03:00
David Capello
dde7915c24
ExportSpriteSheet: Fix "Height" combobox to make it editable
2014-08-12 07:29:57 -03:00
David Capello
df3c16b802
Add more options to export sprite sheet (e.g. best fit for texture)
2014-08-11 11:33:17 -03:00
David Capello
c936a792ab
Add export_sprite_sheet.xml widget
2014-08-11 07:27:10 -03:00
David Capello
a767eb187d
Add layer_properties.xml widget
2014-08-11 06:57:22 -03:00
David Capello
1c324c9b14
Add experimental option to use native mouse cursors (and some renames of cursor names)
2014-08-10 19:51:14 -03:00
David Capello
f48440fe71
Use the generated app::gen::Options widget for OptionsCommand
2014-08-10 01:12:31 -03:00
David Capello
303595689f
Use generated widget app::gen::NewSprite in NewFileCommand
2014-08-09 21:45:07 -03:00
David Capello
d23fa2230b
Implement option to generate one optimized palette for all frames when we save a .gif file
2014-08-09 12:51:11 -03:00
David Capello
411ceda0e7
Add options to save GIF files (how to quantize palettes mainly)
...
* Added "context" parameter to save/load routines so we can test them.
2014-07-19 22:01:39 -03:00
David Capello
6861bd7bb7
Minor change in options dialog
2014-07-06 20:51:27 -03:00
David Capello
950a9fe82f
Add button to create new folders in FileSelector (issue 233)
2014-06-28 18:01:32 -03:00
David Capello
331688bd86
Add "Zoom with Scroll Wheel" option (on/true by default)
2014-06-22 22:35:51 -03:00
David Capello
0c250df97a
Separate Options dialog in different sections
...
* Add ui::Panel widget
2014-06-22 21:56:04 -03:00
David Capello
3c959233b6
Add link label in Options dialog to locate the configuration file
2014-06-13 23:00:49 -03:00
David Capello
8d3b132082
Change ConfigureTimelinePopup layout
2014-05-18 16:49:24 -03:00
David Capello
a15aea5ed7
Add timeline options for onion skin, loop section, and animation direction
...
- Add red/blue onion skin type
- Add app::calculate_next_frame() function to calculate the next frame
depending of the timeline configuration (loop range, animation direction)
- Add app::finder() to simplify the access to widgets loaded from xml files
2014-05-17 21:27:44 -03:00
David Capello
5a45d1ec23
Remove the number of colors entry field from "New Sprite" dialog
...
This field is disabled, and the program isn't ready to support less than
256 colors in Indexed mode, so it's better if we remove this field to avoid
confusion.
2014-05-06 00:08:43 -03:00
David Capello
a445ec4b07
Minor change in sprite_properties.xml (change box -> hbox/vbox/boxfiller)
2014-05-02 20:09:18 -03:00
David Capello
d298c55238
Make "Transparent Color" tooltip smaller in SpriteProperties dialog
2014-05-02 19:47:41 -03:00
David Capello
5ba85c01dc
Improve "Load" button label in PalettePopup to know what it does when there is no active document
2014-04-19 20:52:36 -03:00
David Capello
05507408e1
Remove hardcoded value from main_window.xml for the color bar splitter
2014-04-17 16:23:09 -03:00
David Capello
c8c8738ef8
Add PalettePopup in ColorBar to load predefined palettes from data/palette/
...
- Add PalettesLoader helper class to load palettes in background
- Add PaletteListBox widget
- Add PalettePopup widget
2014-04-17 01:35:02 -03:00
David Capello
5567e3dfc5
main_window.xml: Give more space to the ContextBar
2014-04-13 16:35:11 -03:00
David Capello
44c9bb520d
Fix borders in ColorBar
2014-04-13 13:40:33 -03:00
David Capello
e082cd96f1
Make ScreenScale option configurable through UI
2014-02-08 00:19:20 -03:00
David Capello
eee1719109
Implemented issue 260: Scroll-bars for sprite editor
2014-01-26 13:28:11 -03:00
David Capello
b4d9e3c9ca
Timeline: Add button and handles to configure onionskin range
2013-12-18 00:01:55 -03:00
David Capello
3c861f1a7e
Show timeline automatically when a new frame/layer is created (configurable option)
2013-12-15 12:58:14 -03:00
David Capello
af3df61ca3
Fix main_window.xml to show the ContextBar again
2013-11-10 19:06:37 -03:00
David Capello
b0cd01b425
Add the old "Animation Editor" as a timeline at the bottom of sprite editors (Workspace)
...
- Renamed AnimationEditor (dialogs/aniedit.h) to Timeline
class (app/ui/timeline.h)
- Renamed FilmEditor command to Timeline
2013-11-10 18:27:11 -03:00
David Capello
ce6b186e1b
Remove tool configuration from ConfigureTools command (it's in ContextBar now)
2013-03-30 21:46:35 -03:00
David Capello
7c15aee0a5
Use new Entry suffixes in SpriteSizeCommand
2013-03-30 20:10:54 -03:00
David Capello
bf745b1033
Add ContextBar in the MainWindow
2013-03-30 13:43:00 -03:00
David Capello
9b8e87da10
Update copyright year to 2013
2013-01-27 12:13:13 -03:00
David Capello
ed90055bf7
Replace modules/editors.cpp with widgets::Workspace class
...
Now we have one editor for each Document we want to edit. Before we were
creating one editor and switching the document on it, but now we have
several Editors (one for each opened Document). This simplifies the
Document implementation, because it doesn't need to know temporal
Editor information (like "preferred editor settings").
- Removed all code from modules/editors.cpp (legacy from C code).
- Removed PreferredEditorSettings class and
Document::getPreferredEditorSettings().
- Added Workspace/WorkspaceView classes.
- Added DocumentView (a DocumentObserver).
- Added MiniEditorWindow class.
- Removed SelectFileCommand & CloseEditorCommand.
- Added TabView interface instead of using a raw void* in
Tabs/TabsDelegate classes.
- Modified editors_draw_sprite() calls to Document::notifySpritePixelsModified
notifications.
- The "current_editor" global variable wasn't removed because it's
used in several places yet, but it will be removed in the near future.
(Also this variable now can be NULL when we don't have an opened
document.)
2013-01-20 18:40:37 -03:00
David Capello
525851e6a1
The color bar is now resizable.
...
- Added Splitter::Type so it can be by pixel or by percentage.
- Added Widget::load/saveLayout functions and Widget::onLoad/SaveLayout
events.
- Added LayoutIO interface so we can delegate the serialization of the
layout.
2012-07-18 01:10:43 -03:00
David Capello
5d26b90276
Implement issue #129 - Return to frame/layer where action is undone.
2012-07-10 18:26:08 -03:00
David Capello
cd23721a97
Add MainWindow & MainMenuBar, and replace rootmenu module with AppMenus class.
...
Also the ToolBar widget was published in the toolbar.h header file.
2012-07-09 13:20:58 -03:00
David Capello
02e8c66da4
Remove signals and hooks in GUI code.
...
Several refactoring tasks where made:
- Removed the old Widget::id field (JID).
- Renamed Widget::get/setName to get/setId.
- Moved load_widget_from_xmlfile() to app::load_widget and WidgetLoader
class.
- Removed jhook structure & jwidget_add_hook function. Hooks were replaced
subclassing widgets.
- Added InitThemeEvent class and Widget::onInitTheme member function.
2012-06-15 23:37:59 -03:00
David Capello
b97fb14e0a
Add GotoFrame command (like issue #6 , but it does not use the status bar).
...
+ Replaced ScopedPtr defined in gui.h with UniquePtr.
+ Fix problem in keycombo_get_string() converting keyboard shortcuts
with "Alt" modifier.
2012-01-09 20:28:04 -03:00
David Capello
b8fbaad7fb
Replace Allegro Sprite Editor or ASE with ASEPRITE in all files.
2012-01-06 01:12:57 -03:00
David Capello
02a9d50524
Update copyright year to 2012.
2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36
Convert all newline to LF style and remove all tabs.
...
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
210e33f76a
Improve "Canvas Size" command to show rulers to change the canvas size.
...
+ Added EditorDecorator and EditorState::getDecorator().
+ Added EditorPreRender and EditorPostRender classes.
+ Added Image::rectblend and image_rectblend functions to draw
transparent rectangles.
+ Added SelectTileState and Ruler classes.
2011-04-21 17:39:43 -03:00
David Capello
a8d9636467
Refactor filters (effects).
...
+ Added Filter, FilterManager, and FilterIndexedData interfaces.
+ Moved all widgets related to filters to src/commands/filters.
+ Added the filters library.
+ Added FilterWindow and one derived window for each filter.
2011-03-13 15:50:31 -03:00
David Capello
de47c6ff59
Rewritten palette editor using ColorSliders and HexColorEntry widgets.
2011-03-03 22:17:25 -03:00
David Capello
b0ff50ec0e
New color-bar with scrollable palette-view.
...
+ Removed palette-view from Palette Editor.
+ Fixed problems pasting RGB values in #hex format and HSV sliders.
2011-02-23 19:29:57 -03:00
David Capello
f018ab64df
Move "Constant Frame Rate" as a menu option under "Frame" menu (before it was a button in "Sprite Properties" dialog).
...
+ Added "frame" parameter to FrameProperties command.
+ Removed the global function dialogs_frame_length().
2011-01-23 20:27:52 -03:00
David Capello
bf395fca61
More updates for copyright year to 2011.
2011-01-20 18:32:31 -03:00
David Capello
e9bc81cc1d
Add transparent color index in sprite and .ase files (it does not work in render operation yet).
2011-01-20 17:17:35 -03:00
David Capello
d4caa65cae
Use gfx::Rgb and gfx::Hsv classes for HSV <-> RGB conversions.
...
+ Removed rgb_to_hsv_int() and hsv_to_rgb_int() functions.
+ Changed HSV ranges from [0,255] to H=[0,360], S=[0,100], V=[0,100].
+ Simplified Color class (src/app/color.h) using a m_type and m_value union.
2010-12-08 11:35:08 -03:00
David Capello
742cf18237
As now the window can be resized in all platforms we can remove "Configure Screen" option.
2010-11-04 21:47:54 -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
78366fa545
Spray settings are hidden when we do not have the Spray tool selected.
2010-08-13 11:04:17 -03:00
David Capello
52db5a6bb3
Rename "fuzziness" parameter to "tolerance" in Replace Color effect (to keep consistency with the new floodfill tolerance parameter).
2010-08-13 10:53:42 -03:00
David Capello
dec4bbc6a4
Add "Tolerance" parameter for some tools like Magic Wand and Paint Bucket (Trent Gamblin idea).
2010-08-13 10:41:13 -03:00
David Capello
247481d77d
Disabled some options that will not be available yet in the next beta.
2010-07-23 22:27:23 -03:00
David Capello
0062e3b5e5
Added a WIP label in canvas dialog.
2010-06-24 10:40:36 -03:00
David Capello
d6def8fcc4
The number of colors in indexed sprites cannot be modified in the beta version yet (it needs more testing).
2010-06-23 23:31:29 -03:00
David Capello
636b188283
Added possibility to sort a range of palette entries.
2010-06-17 00:34:39 -03:00
David Capello
924fc09a66
Added HSL_Lightness and YUV_Luma palette sort criteria.
2010-06-17 00:21:57 -03:00
David Capello
6fb63f71b0
Modified logic to selected the default sort criteria in palette editor.
2010-06-15 19:45:57 -03:00
David Capello
ec30837631
Added Palette:sort() and SortPalette class.
...
Implemented "Sort" command in palette editor.
2010-06-14 22:53:30 -03:00
David Capello
91174456cd
Added the missing palette commands: ramp, quantize, load, and save.
2010-06-13 20:04:38 -03:00
David Capello
9a550e2301
Added "More Options" panel in palette editor.
2010-06-13 19:35:40 -03:00
David Capello
70240c9639
Minor modifications in the "New Sprite" dialog layout.
2010-06-01 22:02:26 -03:00
David Capello
0a5746bf3b
Added the number of colors in "New Sprite" dialog for Indexed sprites.
2010-06-01 20:35:13 -03:00
David Capello
ea56481314
Updated copyright to 2010.
2010-04-28 23:52:51 -03:00
David Capello
e1bdcb9899
Added buttons in Options dialog to change grid colors (normal grid and pixel grid).
2010-04-28 23:47:08 -03:00
David Capello
2af3160b3f
Added an option in Tools Configuration dialog to show the pixel grid.
2010-04-28 23:46:17 -03:00
David Capello
b935f90cd3
Minor modification in tools_configuration window layout.
2010-04-25 23:39:46 -03:00
David Capello
8dd69cada9
Moved "Cursor Color" setting from "Tools Configuration" to "Options" dialog.
2010-04-25 23:35:05 -03:00
David Capello
1bc1cf2f5b
Changed caption of the palette editor to "Palette".
2010-04-25 23:24:59 -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
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
a5e02323f2
Sprite Properties window now uses a grid.
2010-04-25 14:35:10 -03:00
David Capello
a3799e4084
Fixed "minwidth" attribute of "brush_size" field.
2010-04-24 16:11:14 -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
6173c54a92
Minor modifications in the layout of "Tools Configuration" window.
2010-04-10 16:10:08 -03:00
David Capello
c5442abcba
Moved data/jids/*.jid files to data/widgets/*.xml.
2010-04-06 22:14:33 -03:00