Commit Graph

346 Commits

Author SHA1 Message Date
David Capello
bad1178617 Add JM_CLOSE_APP message to know when the user pressed the native window close button.
This way is a lot better than simulating an ESC key down/up event.
2012-02-02 20:01:54 -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
deb3fdb48a Add the standard Ctrl+Y keyboard shortcut to execute Redo command. 2012-01-07 20:33:34 -03:00
David Capello
1dd4120951 Add "maintain aspect ratio" in selection transformation (issue #48). 2012-01-07 18:47:48 -03:00
David Capello
99bd0015b9 Change "N" keyboard shortcut to "Alt+N" to avoid creation of frames by mistake. 2012-01-07 17:04:18 -03:00
David Capello
a17d925847 Add angle snap with Shift key to rotation. 2012-01-07 16:37:07 -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
d55e4c58e4 Fix regression bug: user isn't able to copy pixels using Ctrl + selection tool.
+ The problem is that "Ctrl" key is a quicktool (move cel), and it was
  stealing the "Ctrl" key to the selection tool.
+ Added <spriteeditor> section in gui.xml to specify which key is
  used to copy the selection (instead of moving). "Ctrl" is the default.
+ Added EditorCustomizationDelegate interface.
2011-10-29 19:21:19 -03:00
David Capello
cfd74c79bd Move to 0.9.1 version. 2011-10-29 11:18:07 -03:00
David Capello
c64a0d1171 Add gui.xml version validation to avoid using an old customized gui.xml file. 2011-08-22 21:37:14 -03:00
David Capello
d5dd899d3d Add "Export Sprite Sheet" command. 2011-08-07 22:24:21 -03:00
David Capello
0bddf2611c Add "Import Sprite Sheet" command (part of issue #4). 2011-07-31 22:55:52 -03:00
David Capello
dd65f0cf7f Replace "QuickReference" and "Donate" commands with "Launch". 2011-07-28 19:32:04 -03:00
David Capello
04c675bd15 Merge branch 'ft-updater' 2011-07-27 22:10:49 -03:00
David Capello
cf9a296e5d Add automatic check for updates with app::CheckUpdateThreadLauncher
and show notifications in StatusBar.
+ Added updater library.
+ Removed "Check for New Version" command.
2011-07-26 23:25:02 -03:00
David Capello
ff481003c8 Now right-clicking a tab shows a popup-menu with useful options for the document.
+ Added OpenInFolder and OpenWithApp commands.
+ Added Launcher::openFolder.
+ Added document_tab_popup_menu.
2011-06-25 14:28:50 -03:00
David Capello
d95919beb5 Add a simple DeveloperConsole for debugging purposes (F11 key). 2011-03-26 20:43:43 -03:00
David Capello
dc4079a46e Fix problem with PaletteEditor "switch" parameter in menu item "View > Palette Editor" command. 2011-02-02 00:42:48 -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
3887173fac Rename all commands to camel case. 2011-01-20 20:46:58 -03:00
David Capello
aacfb515e4 Changes in keyboard shortcuts to avoid tool-switching confusion. 2010-12-12 10:21:53 -03:00
David Capello
dbebaec92b New "overlap" trace-policy for tools like Spray, Blur, and Jumble. 2010-12-11 21:49:44 -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
20b535bd9c Add customizable quicktools keyboard shortcuts to the editor (feature requested by Paul Pridham). 2010-10-27 21:04:06 -03:00
David Capello
2a7f5017b6 "Layer > Duplicate" menu item does not need "..." because it does not ask the layer name to the user. 2010-08-22 22:12:25 -03:00
David Capello
d9790b3834 Move keyboard shortcuts to change pen size from Editor widget to commands.
* Now +/- keys are configurable because they are defined in gui.xml as calls to the new "change_pen" command.
2010-08-12 17:29:06 -03:00
David Capello
3acfcca945 Re-estructured menu: "Edit > Options", "Edit > Tools", and "View > Screen". 2010-07-31 13:12:06 -03:00
David Capello
4c1ac855a5 Removed "record_screen" command. 2010-07-31 13:09:23 -03:00
David Capello
a9a4dc955f Removed "Tools" menu item.
- "FX" menu is now inside "Edit" menu.
- All other options now are inside "View".
2010-07-18 15:06:39 -03:00
David Capello
acf9dec82a Removed "Cel" item from the menu bar. 2010-07-18 14:53:50 -03:00
David Capello
61a9d56a0d Added more resolutions for "Configure Screen" command. 2010-07-18 14:53:18 -03:00
David Capello
61150ad31e Merged all preview commands (fit screen/tiled/normal) to just one Preview command (F8).
- Improved preview to show checked background as default background for transparent sprites.
- Added RenderEngine::renderImage() and renderCheckedBackground().
- Removed F6 and F7 shortcuts.
2010-07-17 20:49:42 -03:00
David Capello
c400ea0cd0 Added CheckUpdates command. 2010-07-04 12:07:38 -03:00
David Capello
449cdd686f Added Donate command. 2010-07-03 13:36:39 -03:00
David Capello
3d89a21e2f Added "Quick Reference" command.
- Added Launcher class to open files and URLs.
2010-07-03 13:34:17 -03:00
David Capello
c8ac3aab4e Modified curve shortcut to Y key (P key is used for Frame Properties dialog). 2010-06-24 00:58:41 -03:00
David Capello
5665b7dd1a Added grid_settings command (feature #2874433). 2010-04-25 15:31:44 -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
4611bc0f84 Added parameters to new_layer command ("ask" and "name").
Now by default this command does not ask to the user about the layer name.
2010-03-29 00:23:25 -03:00
David Capello
0f597f747d Removed tips. 2010-03-24 17:24:28 -03:00
David Capello
271e1df6bd Removed support for 8 bpp. 2010-03-24 13:56:31 -03:00
David Capello
5ea8d97b60 Added tooltips to toolbar. 2010-03-24 13:38:28 -03:00
David Capello
5c6da29ced Removed 'Advanced mode' option. 2010-03-09 00:46:12 -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
ef51fd59ea Added Ctrl+Shift+Z to redo. 2010-03-07 16:48:21 -02:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00