David Capello
3d5fd0f07c
Remove Vaca source code completely (replace NonCopyable class with DISABLE_COPYING macro).
2010-09-29 17:50:46 -03:00
David Capello
818e286c84
Remove Vaca::Application class. Move Vaca::String class to src/base/string.h (and split_string and convert_to algorithms to src/base/).
2010-09-28 15:36:03 -03:00
David Capello
cb3dd70fb8
Move Jinete library to src/gui directory (future gui-lib).
2010-09-26 15:59:32 -03:00
David Capello
46e847ef80
Remove internationalization stuff.
...
- Remove "_" macro.
- Remove src/intl/ directory.
2010-09-18 23:54:56 -03:00
David Capello
e2b8a8be1d
Remove user_printf() function.
2010-09-18 23:33:32 -03:00
David Capello
851365f7bb
Rename App::get_toolbox() to App::getToolBox().
2010-09-18 17:49:07 -03:00
David Capello
ec13504c06
Remove core/core.h-cpp.
...
- App class contains the running mode (isGui() flag).
- LoggerModule contains the verbose flag.
- Remove is_interactive().
2010-09-18 17:36:21 -03:00
David Capello
ca521d3f50
Remove util/rectscr.cpp (as 8bpp is not supported, we cannot record the screen in FLI format anymore).
2010-09-18 01:24:09 -03:00
David Capello
9a9e40395f
Move LoggerModule to log.cpp.
2010-09-18 01:14:03 -03:00
David Capello
1f88934542
Remove "static" member functions from RecentFiles. Now App has a RecentFiles member and it must be accessed through the App singleton.
2010-09-18 00:28:24 -03:00
David Capello
3f9e947ea9
Convert color_t type to Color class.
...
+ Add color_utils namespace and move useful routines for colors right there.
+ Add test_color.cpp.
2010-08-25 00:26:37 -03:00
David Capello
8727390b2d
Rename colbar.h to color_bar.h.
2010-08-23 18:11:47 -03:00
David Capello
4e72997a02
Use Allegro's ASSERT() instead of assert().
2010-08-03 23:33:44 -03:00
David Capello
7fa04dddb2
Moved check_args.cpp from src/core/ to src/.
2010-07-16 17:00:37 -03:00
David Capello
47aa64efe4
Removed jwidget_enable/disable/is_enabled/is_disabled functions.
2010-07-03 15:26:27 -03:00
David Capello
93f7d76715
Converted tabs widget to Tabs class and ITabsHandler interface.
2010-06-13 17:51:22 -03:00
David Capello
07970e8116
Removed app_get_fg/bg_color() functions.
2010-06-10 23:50:10 -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
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
c5442abcba
Moved data/jids/*.jid files to data/widgets/*.xml.
2010-04-06 22:14:33 -03:00
David Capello
475d0eeb1b
Refactored Sprite class: no public variable members, all functions sprite_* go as Sprite function members, pimpl idiom.
2010-03-30 21:43:18 -03:00
David Capello
bea59d7280
Status bar widget converted to C++ StatusBar class.
2010-03-29 00:00:25 -03:00
David Capello
ee878c87e9
Modified Palette class to contain all functions to manipulate it as function members.
...
Modified its implementation to use std::vector<> instead of a raw C array[].
Now the number of colors in the sprite is more relevant (e.g. we should be able to create sprites of 4bpp, 16 colors).
2010-03-28 12:15:32 -03:00
David Capello
61c1e08be1
Added RecentFiles C++ class to replace legacy C implementation of recent files.
2010-03-27 23:43:08 -03:00
David Capello
3f7621ec5c
Fixed: multiple-error messages when files specified in arguments are not found.
2010-03-26 08:45:13 -03:00
David Capello
0f597f747d
Removed tips.
2010-03-24 17:24:28 -03:00
David Capello
804de112c4
Changed initial text in state bar.
2010-03-21 23:39:19 -03:00
David Capello
5ae14b550b
Added Vaca::String class.
...
Added Vaca::Exception class.
Added Vaca::System class.
Added vaca_main().
The main/WinMain is defined inside vaca library.
2010-03-12 23:16:05 -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
77a54b7d34
Modified ase_exception creation with printf style.
2010-03-07 16:16:10 -02:00
David Capello
1e121378de
Replaced App events (IAppHook) with Vaca signals/slots.
2010-03-01 00:36:05 -02:00
David Capello
a8831eed86
Modified some comments to C++ style.
2010-02-28 22:09:46 -02:00
David Capello
b747ccdaa6
Updated copyright year to 2010
2010-02-01 21:25:40 +00:00
David Capello
96759c9c17
Converted all TRUE/FALSE to C++ true/false
2010-01-30 16:43:13 +00:00
David Capello
0c6765fb88
Modules converted to C++ classes.
2010-01-29 03:15:33 +00:00
David Capello
6e93dfe4ea
Converted editor widget in a C++ class (Editor class derived from Widget).
2010-01-27 02:52:30 +00:00
David Capello
77c009de55
Renamed jwidget to Widget.
...
Refactored jwidget_set_text to Widget::setText (same for setFont, setEnabled, etc.).
Created "Frame" class.
Refactored "jwindow_funcname" functions to "Frame::funcname".
Renamed JWidgetPtr to FramePtr.
2010-01-26 00:38:05 +00:00
David Capello
11a094cb05
Moved app.cpp from src/core/ to src/
2009-12-11 14:53:05 +00:00