Commit Graph

761 Commits

Author SHA1 Message Date
David Capello
4e72997a02 Use Allegro's ASSERT() instead of assert(). 2010-08-03 23:33:44 -03:00
David Capello
8d73ad011a Change Palette class size() from size_t to int type (to avoid all kind of problems using "unsigned int" type). 2010-08-03 23:28:14 -03:00
David Capello
642d4220dc Remove warnings about int and size_t comparisons. 2010-08-03 23:02:16 -03:00
David Capello
7ed71af2ee Remove unused local variable in draw_color() function. 2010-08-03 23:01:33 -03:00
David Capello
01c811e726 Add PreferredSizeEvent and Widget::onPreferredSize to replace JM_REQSIZE message.
There are a lot of widgets in C code, so JM_REQSIZE cannot be removed until all widgets are converted to C++ classes.
2010-08-02 22:57:41 -03:00
David Capello
ec7795fc33 Rename Widget::msg_proc to Widget::onProcessMessage. 2010-08-02 21:29:56 -03:00
David Capello
1fe816d2b3 Change layer numbers (0, 1, 2, ...) with letters (A, B, C, ...) in status-bar. 2010-08-02 20:12:40 -03:00
David Capello
ce2f1379a3 Minor aesthetic modifications to state-bar. 2010-08-01 13:16:02 -03:00
David Capello
638b7bad8d Add "palette" argument in RenderEngine::renderImage method and BlenderHelper<> ctor.
With this change we can show two editors with two different sprites with two different palettes at the same time.
2010-08-01 12:24:35 -03:00
David Capello
5f97043abe Added "Editor::State" name to anonymous enum in Editor class. 2010-07-31 13:18:55 -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
a3f18e5aaf Fixed minor problem with background color in Tabs widget's buttons. 2010-07-31 13:08:13 -03:00
David Capello
a0bbb5dfab Renamed locked_sprite_exception to LockedSpriteException. 2010-07-31 12:28:03 -03:00
David Capello
4b2f341af1 Refactored Command class to contain extensions points (virtual methods) as protected members (except clone() method).
+ Renamed Command::load_params -> onLoadParams
+ Renamed Command::enabled -> onEnabled
+ Renamed Command::checked -> onChecked
+ Renamed Command::execute -> onExecute
+ Added public (non-virtual methods) Command::execute/loadParams/isChecked/isEnabled.
2010-07-31 12:23:45 -03:00
David Capello
81114a7f39 Eliminated a warning in MSVC about double -> float convertion. 2010-07-31 12:15:38 -03:00
David Capello
3c49d0a1ad Modified "error" by "problem" in exceptions. 2010-07-31 12:15:02 -03:00
David Capello
0fdd544524 Tabs widget is double buffered now. 2010-07-26 16:52:40 -03:00
David Capello
100073f986 Added BITMAP argument in jdraw_text() function. 2010-07-26 00:28:24 -03:00
David Capello
c831a35452 Modified some cursors in skin sheet. 2010-07-26 00:21:39 -03:00
David Capello
6f7660e0d5 Fixed file description in .rc file. 2010-07-26 00:20:39 -03:00
David Capello
017dca6425 Added width and height arguments to ji_set_screen() function. 2010-07-26 00:20:17 -03:00
David Capello
74962ece67 Added possibility to copy the selected pixels with CTRL key. 2010-07-23 23:27:46 -03:00
David Capello
d7e9ceca81 Modified "arrow with plus sign" cursor. 2010-07-23 23:11:49 -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
1f755ec0f4 Added executable bit to fix.sh. 2010-07-23 20:03:40 -03:00
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
91362d376e Minor changes in README.html about compilation, make, and paths. 2010-07-23 20:01:31 -03:00
David Capello
288e1959a2 Fixed typo in NEWS.txt. 2010-07-23 19:27:34 -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
f323f41288 Added support for DESTDIR on Unix-like systems (patch #3032942). 2010-07-22 23:14:02 -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
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
04a096d6b9 Modified some comments from C style to C++. 2010-07-18 14:44:21 -03:00
David Capello
1cd378cdd0 Added some screenshots to the manual. 2010-07-17 20:51:49 -03:00
David Capello
09745ff091 Added documentation about scrolling with mouse wheel. 2010-07-17 20:51:24 -03:00
David Capello
ec2020f9e7 Added documentation about "Preview" command. 2010-07-17 20:51:03 -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