Commit Graph

4121 Commits

Author SHA1 Message Date
Gabriel Rauter
76f0f82b95 use base::convert_to for string to in conversion instead of own funtions 2015-09-02 03:55:26 +02:00
Gabriel Rauter
c9d9af7c6f use std::vector as buffer for input file 2015-09-02 03:51:35 +02:00
Gabriel Rauter
085ffcdcb2 use auto-generated widget for webp options dialog and save options 2015-09-02 01:26:34 +02:00
Gabriel Rauter
467fcbc0ce fix compatibility with last stable libWebP release = 0.4.3 2015-09-01 23:39:35 +02:00
Gabriel Rauter
5ae9b9a6ef correct copyright line 2015-09-01 23:11:50 +02:00
David Capello
f691b91310 Fix split_filename_tests 2015-09-01 13:05:41 -03:00
David Capello
e8abba1b93 Refactor some UI code
- Moved ui::GuiSystem from ui/base.h to ui/system.h as ui::UISystem
- Moved some internals to ui::details namespace
- Fix crash of UI tests when ~Manager is called
- Removed ui::init/exit_system() functions
2015-09-01 10:18:47 -03:00
Gabriel Rauter
83159aba8a add libwebp info to credits 2015-09-01 13:31:33 +02:00
Gabriel Rauter
497fc3ed3a implement simple non animation webp for #273
This includes lossless and lossy webp file format. For this reason a
save option dialog was added giving rudimentary options for saving to
the user.
2015-09-01 13:05:24 +02:00
Gabriel Rauter
884b5f2e6f add submodule libwebp for #273 2015-09-01 13:04:11 +02:00
David Capello
20832dee93 Update version to 1.1.1-dev 2015-08-31 13:27:40 -03:00
David Capello
d6684691bf Rename PRINTF to LOG 2015-08-28 20:48:49 -03:00
David Capello
7fb7b85b13 Minor adjustments to ButtonSet style 2015-08-28 15:48:19 -03:00
David Capello
984059e1bc Avoid selecting all RGBA+Index buttons in FilterTargetButtons 2015-08-28 15:41:02 -03:00
David Capello
465a0c1d14 Don't reset TARGET_ALL_FRAMES/LAYERS flags in FilterTargetButtons::setTarget() 2015-08-28 15:34:47 -03:00
David Capello
9231e9bd51 Add tooltips to FilterTargetButtons (fix #786) 2015-08-28 15:33:53 -03:00
David Capello
110aa74dae Add required #include "ui/timer.h" in ui/tooltips.h 2015-08-28 14:45:56 -03:00
David Capello
5c371285ab Improve FilterTargetButtons UI style using a ButtonSet
Related to #786
2015-08-28 14:37:00 -03:00
David Capello
db4817e3ef Add an extra grid test with four columns 2015-08-28 13:11:00 -03:00
David Capello
530edb4ae3 Add Widget() constructor to create default widgets 2015-08-28 13:10:42 -03:00
David Capello
d994d67a2a Fix crash using Shading mode with sprites with different palette sizes 2015-08-28 12:22:32 -03:00
David Capello
47a5b38ada Hide "Edit > Scripts" menu because scripts destroy undo history at this moment 2015-08-27 13:41:03 -03:00
David Capello
6c9733ca38 Use a FileHandle in Engine::evalFile() 2015-08-27 13:39:50 -03:00
David Capello
55a618a79a Fix scripting::Engine members initialization order 2015-08-27 13:39:38 -03:00
David Capello
f8f1aba806 Merge branch 'scripting' 2015-08-27 12:41:37 -03:00
David Capello
890931f270 Add RunScript command with Edit > Scripts menu 2015-08-27 12:40:20 -03:00
David Capello
ab893eec6e Improve "Color Curve" dialog to be used only with the mouse (fix #278) 2015-08-27 12:27:23 -03:00
David Capello
ffdf8ad568 Add activeSprite global 2015-08-27 11:58:50 -03:00
David Capello
8c961d58ef Use canonical path in recent file/path list (fix #654) 2015-08-27 11:12:30 -03:00
David Capello
eff31223ab Add support to open image sequences when files are specified in the command line (fix #785) 2015-08-27 09:34:14 -03:00
David Capello
9201239eb3 Fix detection of image sequence with some special cases/UTF-8 strings (fix #784) 2015-08-27 09:10:46 -03:00
David Capello
6dfbb05d58 Split bindings into several files 2015-08-27 08:19:09 -03:00
David Capello
62f90a1a76 Fix wording in empty ContextBar::InkShadesField widget 2015-08-27 08:10:09 -03:00
David Capello
2949ff0a7c Improve UI to drag-and-drop colors and the resize handle (related to #772) 2015-08-27 08:09:13 -03:00
David Capello
f3ac563e33 Add shading ink (fix #85) 2015-08-26 16:48:01 -03:00
David Capello
089bf6f81f Add basic scripting API to create Sprites and access pixels 2015-08-26 11:30:33 -03:00
David Capello
65baa8d943 Move OK/Cancel buttons at the bottom in Keyboard Shortcuts dialog
Issue #777
2015-08-25 17:15:14 -03:00
David Capello
a79c9479b7 Replace dynamic_cast with static_cast in Widget::getRoot() 2015-08-25 14:40:53 -03:00
David Capello
19951c6dd5 New Keyboard Shortcuts dialog layout (fix #777) 2015-08-25 13:59:15 -03:00
David Capello
746f41ff5b Rename ui::ListBox::ChangeSelectedItem to ui::ListBox::Change 2015-08-25 13:56:21 -03:00
David Capello
0645a66521 Fix pressing multiple KeyAction modifiers at the same time (fix #778) 2015-08-25 13:29:19 -03:00
David Capello
f71a0e2cc4 Fix Ctrl+ and Ctrl- to zoon in/out 2015-08-25 13:24:20 -03:00
David Capello
ffba179712 Avoid an extra palette entry for the mask color in PaletteOptimizer::calculate() (fix #771) 2015-08-24 19:05:36 -03:00
David Capello
2bb926742f See symlinks to folder as folders (fix #524) 2015-08-24 16:55:05 -03:00
David Capello
46309fe68d Focus Entry field when a Combobox receives the focus for first time
This is a partial revert of a0c2237839 patch.
2015-08-24 16:45:35 -03:00
David Capello
434059d517 Don't access to the first item in DirectDraw surfaces list outside the gfx critical region
This could be a fix for a long-standing crash in
gfx_directx_restore_surface() accesing to an invalid
memory address.
2015-08-24 12:48:27 -03:00
David Capello
04f07af173 Fix problem leaving dirty areas in the screen when we move a window 2015-08-24 11:56:40 -03:00
David Capello
a0c2237839 Fix hanging when switching focus between different editable comboboxes
This bug was fixed before with d1799c037a but
then returned with 549404c216
2015-08-24 11:37:35 -03:00
David Capello
549404c216 Fix tooltips visibility (fix #770)
TooltipManager uses filters to intercept a kMouseEnterMessage, if we
remove this kind of message for the TooltipManager itself (in sendMessage),
we never get that message so we never show the tooltip.

This problem was introduced in d1799c037a
to fix a problem with comboboxes.
2015-08-24 11:33:02 -03:00
David Capello
de3d4c3662 Improve performance flipping the dirty region only 2015-08-24 10:14:25 -03:00