588 Commits

Author SHA1 Message Date
David Capello
10a58a35ec Fixed warning about probably uninitialized variables. 2010-07-23 20:02:38 -03:00
David Capello
51fdc7184e Fixed compilation errors in gcc 3.4. 2010-07-23 20:01:52 -03:00
David Capello
712e357ab2 Avoid some compilation warnings and errors with gcc on linux. 2010-07-23 16:51:11 -03:00
David Capello
c1a98a8b06 Added animations to Tabs widget when adding and removing tabs, and scrolling with mouse wheel. 2010-07-20 00:59:52 -03:00
David Capello
ccc2b35ab0 Added Tabs::calcTabWidth() method to replace CALC_TAB_WIDTH macro. 2010-07-19 23:56:12 -03:00
David Capello
e0ff9d5ee8 Removed JI_SIGNAL_REMOVE_CHILD and JI_SIGNAL_NEW_PARENT.
These signals do not make sense when we are removing a widget that is being destroyed.
2010-07-19 18:57:16 -03:00
David Capello
51b0fbdc96 Renamed icon.rc to resources_win32.rc, and added VERSIONINFO resource. 2010-07-18 18:27:42 -03:00
David Capello
04a096d6b9 Modified some comments from C style to C++. 2010-07-18 14:44:21 -03:00
David Capello
f32ce85936 Minor improvement to BlenderHelper<RgbTraits, IndexedTraits> saving the current palette as member. 2010-07-17 20:50:24 -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
c8ae9cbf8a Minor changes in comments. 2010-07-17 20:44:51 -03:00
David Capello
1ca29538c0 Added ISettings::getOnionskinOpacityBase/Step() methods. 2010-07-16 18:46:19 -03:00
David Capello
65d1ab6865 Removed usage of color_map in ImageImpl<IndexedTraits>::merge() function. 2010-07-16 18:21:05 -03:00
David Capello
ba1c80831b Added support for onionskin with multiple frames. 2010-07-16 18:20:02 -03:00
David Capello
313b915e63 Implemented onionskin stuff in UISettingsImpl class. 2010-07-16 18:10:04 -03:00
David Capello
fef94477cb Modified render method to use a RGB image for the final result (independently of the current image type).
With this we can draw the background grid (and use onionskin) in indexed images without palette limitations.
2010-07-16 17:52:29 -03:00
David Capello
28b3f7fe8c Minor change: Modified C comments to C++. 2010-07-16 17:48:47 -03:00
David Capello
7fa04dddb2 Moved check_args.cpp from src/core/ to src/. 2010-07-16 17:00:37 -03:00
David Capello
f2f1bb26f2 Replaced old DIRS structure with ResourceFinder class. 2010-07-16 16:56:45 -03:00
David Capello
8812623528 Removed LoadPalette() function. 2010-07-16 16:48:02 -03:00
David Capello
a82d721913 Moved get_pretty_memsize (core.h) to get_pretty_memory_size (mem_utils.h). 2010-07-16 16:05:56 -03:00
David Capello
81fcdb53a3 Modified status bar text when we are dragging pixels in the editor.
+ Added PixelsMovement::getImageBounds() method.
2010-07-14 20:02:18 -03:00
David Capello
3218265eed Fixed dirs.cpp for Mac OS X to behave same as on Unix (with the addition to look for .app directory content). 2010-07-14 19:58:22 -03:00
David Capello
d3fd921f1a Added Launcher::openFile() command for Linux. 2010-07-07 15:10:31 -03:00
David Capello
a6b164d88b Added quotes in Launcher::openFile() to open URLs with '&' character. 2010-07-06 23:45:41 -03:00
David Capello
b2d212f90f Added operating system name and version in CheckUpdates command. 2010-07-06 23:31:54 -03:00
David Capello
eb68ae06e1 Fixed "Quick Reference" command. Documentation is searched in different locations depending the operating system. 2010-07-06 23:31:31 -03:00
David Capello
ff705fce46 Improved Launcher::openFile() method for Windows using ShellExecute() instead of system(). 2010-07-06 23:29:40 -03:00
David Capello
5f670782de Fixed a compilation error in gcc with std::sort(). 2010-07-05 21:48:27 -03:00
David Capello
7f4871c2fb Modified about command to show links to authors' home page. 2010-07-04 23:17:01 -03:00
David Capello
c400ea0cd0 Added CheckUpdates command. 2010-07-04 12:07:38 -03:00
David Capello
b5944202f1 Removed tools.cpp. 2010-07-04 12:04:05 -03:00
David Capello
c4ab208e4b Replaced jwidget_show/hide/is_visible/is_hidden functions with Widget::isVisible/setVisible methods. 2010-07-04 12:03:14 -03:00
David Capello
47aa64efe4 Removed jwidget_enable/disable/is_enabled/is_disabled functions. 2010-07-03 15:26:27 -03:00
David Capello
447f6438a4 Removed jwidget_select/deselect/set_selected/is_selected/is_deselected functions. 2010-07-03 15:03:26 -03:00
David Capello
ee3e04386b Added LinkLabel widget. 2010-07-03 14:33:31 -03:00
David Capello
cb0488b50b Refactored jlabel widget to Label class. 2010-07-03 13:48:14 -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
6351aa1db5 Modified minimum scroll-bar thumb size. 2010-06-25 00:31:40 -03:00
David Capello
d8d66782c8 Added to the file selector dialog the list of recent paths (which is generated from the list of recent files). 2010-06-25 00:27:04 -03:00
David Capello
7b9f3a154f Fixed floodfill algorithm for colors with alpha=0 but different RGB components. 2010-06-24 23:54:40 -03:00
David Capello
4dff5fac85 Converted combobox widget to a class (ComboBox class derived from Widget). 2010-06-24 23:44:59 -03:00
David Capello
bbc16ab0da Now the separator label is drawn with other color. 2010-06-24 23:36:29 -03:00
David Capello
91b6233b48 Now the user can select mask color as foreground or background colors (e.g. now you can erase with right button using brush tool). 2010-06-24 23:25:30 -03:00
David Capello
0467790bcf Added skin to scrollbar. 2010-06-24 00:09:46 -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
52f94b613b Changed "Discard" to "Don't Save" in the warning dialog when the user wants to close a modified file. 2010-06-23 23:20:16 -03:00
David Capello
2f242e4934 Fixed get_color_for_image() function with color indexes out of range. 2010-06-23 23:18:57 -03:00
David Capello
896fbcc095 Fixed problems in color curve effect using color indexes out of range. 2010-06-23 23:18:22 -03:00