David Capello
dd2839a49a
Add app::StartView (work-in-progress)
2014-02-02 20:55:32 -03:00
David Capello
ff166107ed
Don't show grid and mask in mini editor
2014-02-02 19:14:27 -03:00
David Capello
0d7f4498b9
Fix const-correctness for ColorPicker::pickColor() member function
2014-02-02 18:49:19 -03:00
David Capello
e671508d85
Change infinite scroll implementation
...
Remove necessity of jmouse_x(1) and jmouse_y(1) calls.
- Renamed jmouse_control_infinite_scroll() -> ui::control_infinite_scroll()
- Renamed jmouse_set_position() -> ui::set_mouse_position()
- Added ui::get_delta_outside_box()
2014-02-02 18:46:19 -03:00
David Capello
5eb516f0f5
Fix FileList navigation with keyboard (enter key focus the FileList again)
2014-01-30 20:05:05 -03:00
David Capello
c8c099864c
Added "Grab Alpha" option to eye dropper (issue 134)
2014-01-28 23:56:44 -03:00
David Capello
eee1719109
Implemented issue 260: Scroll-bars for sprite editor
2014-01-26 13:28:11 -03:00
David Capello
c2e50acb0b
Fix issue 298: Crash on quit with multiple viewports open
2014-01-26 11:22:23 -03:00
David Capello
5ccae8c0bb
Remove some labels from ContextBar, modify tooltips look, and use mini font
2014-01-26 08:40:16 -03:00
David Capello
4e6320b03c
Add setup_mini_font
2014-01-26 08:39:33 -03:00
David Capello
9423b967ab
Change selection behavior: left-click replace the selection
...
With this patch we replace the "unique/odd" behavior of Aseprite where
you add selection regions with left-click and remove with right-click.
Now by default you replace the selection with left-click (as in regular
gfx programs). Also you can change the selection tool behavior with
buttons/icons at the context bar (to select between replace/add/subtract).
2014-01-25 17:58:29 -03:00
David Capello
2d7db879a3
ContextBar: Move m_freehandBox to the last position to improve context bar for selection tools
2014-01-25 16:37:38 -03:00
David Capello
1554875618
Add pixel-perfect drawing mode for freehand tools (issue 315)
...
* Added new app::tools::IntertwineAsPixelPerfect intertwiner
* Added app::tools::FreehandAlgorithm enum
* Added app::tools::WellKnownIntertwiners constants
2014-01-25 16:26:49 -03:00
David Capello
f19aae9232
Fix UISettingsImpl/UIPenSettingsImpl::removeObserver() functions
2014-01-25 16:13:44 -03:00
David Capello
5bbe6c6086
Fix compilations problems in g++ 4.2.1 (Mac OS X)
2014-01-05 16:43:39 -03:00
David Capello
f8e8657093
Move kPaintMessage code to onPaint() event for some widgets
...
The affected widgets are: ColorBar::ScrollableView, ColorButton, and
StatusBar.
* Added Graphics::drawLine()
* Moved rectgrid and draw_color to modules/gfx.cpp
2013-12-29 21:12:23 -03:00
David Capello
66f357098c
src/app/modules/gfx.cpp: Remove deprecated RectTracker stuff
2013-12-29 20:16:31 -03:00
David Capello
fe552f60de
Temporal fix for issue 299: Don't allow moving the selection from other editor than the current one
2013-12-29 19:53:28 -03:00
David Capello
02597dcdec
Add RotSprite algorithm for PixelsMovement (issue 121)
...
* Added app::RotationAlgorithm enum.
* Added app::ISelectionSettings::get/setRotationAlgorithm.
* Added app::SelectionSettingsObserver::onSetRotationAlgorithm.
* Added raster::image_rotsprite() function.
* Added ContextBar::RotAlgorithmField class to select the rotation algorithm.
* Now the mask isn't updated constantly on PixelsMovement::moveImage8),
in this way when the user release the mouse button is when we recalculate
the mask (to get better performance when the user is scaling/rotating
the image).
2013-12-29 17:11:56 -03:00
David Capello
12a46f5ca3
Fix PutAlpha ink processing
2013-12-23 00:10:19 -03:00
David Capello
02cb132aa3
Timeline: ask for moving state to check if the user is drag-and-dropping cels
2013-12-23 00:04:38 -03:00
David Capello
6695d15c88
Fix intertwiners problems
...
Pencil with selection ink wasn't working right. Points must be joined
from 0 to 1, from 1 to 2, etc. instead of 0 to 1, 2 to 3, etc.
2013-12-23 00:03:49 -03:00
David Capello
400a2c1993
Timeline: Add support to delete several cels at once
2013-12-22 18:52:25 -03:00
David Capello
ca7f6a055f
Avoid negative values for Timeline::m_separator_x (so the user can expand it again)
2013-12-22 16:35:44 -03:00
David Capello
076be1f22f
Timeline: fix problem setting the duration of a frame range
2013-12-22 16:30:04 -03:00
David Capello
b31f568488
Timeline: show frame/layer/cel properties with double-click
2013-12-22 16:22:57 -03:00
David Capello
7114b1b769
Timeline: add status bar text when we hover different elements
2013-12-22 12:51:15 -03:00
David Capello
d6533d8a3f
StandbyState::onUpdateStatusBar(): show frame duration
2013-12-22 12:28:07 -03:00
David Capello
c3e583f927
Fix some compilations problems in MinGW
...
Anyway without DirectX header files (ddraw.h specifically) we cannot
compile Allegro source code with MinGW.
2013-12-22 12:20:53 -03:00
David Capello
85523ba63a
Add ability to change the properties of several frames (a range of frames) at once
2013-12-22 12:19:03 -03:00
David Capello
9650e1df27
Timeline: Esc key deselect the selected range of frames/layers
2013-12-22 12:17:07 -03:00
David Capello
b4d9e3c9ca
Timeline: Add button and handles to configure onionskin range
2013-12-18 00:01:55 -03:00
David Capello
f467628407
Timeline: Redraw all document views when a layer visibility is modified
2013-12-15 21:14:24 -03:00
David Capello
eabb65be50
Timeline: Add support to move several layers
2013-12-15 21:07:42 -03:00
David Capello
cb11fb3458
Add support to remove several layers & frames at once
2013-12-15 20:21:31 -03:00
David Capello
ccb24cad35
Timeline: fix minor details in padding drawing code
2013-12-15 17:49:46 -03:00
David Capello
9e138c263f
Fix bugs using NULL as text in widgets constructors
2013-12-15 17:42:33 -03:00
David Capello
9aac8ad6d4
Timeline: fix scroll issues redrawing the whole widget
2013-12-15 17:30:19 -03:00
David Capello
792cbd9d35
Timeline: Add proper clip to frames header and cels area
2013-12-15 17:26:29 -03:00
David Capello
ad6f18c11c
Update the timeline after drawing in the sprite editor (after DrawingState)
2013-12-15 16:51:30 -03:00
David Capello
afc83ec09a
Do not reset scroll each time we click a sprite
2013-12-15 16:49:21 -03:00
David Capello
560270dbef
Timeline: clip and draw only necessary parts
2013-12-15 16:49:03 -03:00
David Capello
9806e33876
Timeline: Add code to show equal keyframes joined
...
This code is disabled at the moment because there isn't a fast way
to compare frames.
2013-12-15 14:02:00 -03:00
David Capello
3c861f1a7e
Show timeline automatically when a new frame/layer is created (configurable option)
2013-12-15 12:58:14 -03:00
David Capello
d96c5ff1e5
Minor changes (code format)
2013-12-15 12:37:30 -03:00
David Capello
7b09aefe6a
Fix bug mixing image buffers in ExpandCelCanvas for new cels
...
Bug introduced from commit 48864b440b
2013-12-15 10:31:25 -03:00
David Capello
bcab165700
Timeline: improve look & feel of range selections
2013-12-15 09:42:05 -03:00
David Capello
6b7625267d
Remove layers button from StatusBar widget
2013-12-11 19:35:03 -03:00
David Capello
1f0d1be396
Rename app::SelectionSettings to app::UISelectionSettingsImpl
...
The class UISelectionSettingsImpl is the implementation
of ISelectionSettingsImpl so it doesn't need to be available from
ui_settings_impl.h. Also we can use anonymous namespaces to put classes
that are used only inside ui_settings_impl.cpp.
2013-12-11 19:19:27 -03:00
David Capello
b5ea9fd7e7
Merge branch 'timeline' into dev
2013-12-11 01:41:48 -03:00
David Capello
773333e264
Timeline: Add multiple frames selection
2013-12-11 01:40:31 -03:00
David Capello
4e917fc81c
Add padding to text style
2013-12-11 01:35:40 -03:00
David Capello
4bd4aac429
Add styles to the Timeline widget
...
- Added support for styles to SkinTheme and skin.xml.
- Added app::skin::Style/Rule/BackgroundRule/IconRule/TextRule classes.
- Added app::skin::SkinPart class to refer to one part (BITMAP) of
the skin sheet.
- Renamed app::skin::SkinPart to SkinParts as now SkinPart is a class.
2013-12-11 00:34:16 -03:00
Joel Madigan
3ce805f63d
Moved Transparent Color button to ContextBar
...
Implemented SelectionSettings class
Transparent Color button for moving pixels moved from status bar to
context bar. Current Transparent Color stored by new SelectionSettings
class, retrievable from ISettings.
Also implemented Observer classes for existing Settings interfaces for
future use.
StatusBarObserver interface and supporting code removed from StatusBar.
2013-12-10 12:44:00 -05:00
David Capello
4218dd852d
Merge branch 'dev' into timeline
2013-12-08 20:39:01 -03:00
David Capello
f531f6d0d0
Simple implementation of issue #17 - Export animation to JSON/sprite sheet files
...
This is a good start point. From here we can add more formats and options
(XML, custom formats, templates, etc.), rotated sprites, trim, etc.)
2013-12-08 20:19:32 -03:00
David Capello
d77efb602e
Add DocumentApi::undoEnabled()
...
Now we can disable the undo information in DocumentApi() passing
a NULL undoers collection on its ctor.
2013-12-08 20:07:02 -03:00
David Capello
e0a28c1d46
Minor refactor in skin properties
...
- Add get_skin_property(ui::Widget*) function to avoid duplicating code
to create a SkinProperty.
- A SkinSliderProperty is not a SkinProperty: now it has its own name.
2013-12-05 01:19:46 -03:00
Joel Madigan
dabcad1807
Add string::c_str() to several functions.
...
There were a number of places where a std::string was being used in a function calls that expected a c string. These instances were trivally fixed by adding a call to string::c_str().
Note, I'm not sure if this is a GCC specific issue, however even if it is a case of MSVC simply letting these usages slide it can't hurt to be explicit.
2013-11-24 01:35:55 -05:00
David Capello
033aad9d28
Fix Unicode characters encoding (we've to use utf-8) in Color::toHumanReadableString() and BrushAngleField()
2013-11-23 18:01:42 -03:00
David Capello
ad0b28bd63
Change Window() ctor to avoid ambiguity (DesktopWindow, WithoutTitleBar, or WithTitleBar)
...
In this way we know at the moment of the creation of the window if it
will need the close button.
Issue #280 .
https://github.com/aseprite/aseprite/pull/6
2013-11-23 17:47:57 -03:00
David Capello
a1f3e290c2
Fix Timeline::updateUsingEditor() as it can be called with editor=NULL
...
In fact, now it's called with NULL when the program starts
(see commit 517d368f93
).
2013-11-23 17:09:31 -03:00
David Capello
88d8235e86
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-11-21 00:28:16 -03:00
David Capello
517d368f93
Merge pull request #5 from DocHoncho/fix-285
...
Fix for issue 285
2013-11-20 19:26:27 -08:00
Joel Madigan
a13603a0aa
Added call to UIContext::setActiveView(NULL) to force window title to have proper default value
2013-11-20 00:12:18 -05:00
Joel Madigan
422f1135d3
Fix for issue 284, assertion error was being triggered by passing an int to a function expecting type Item*. Looks like it was an oversight in commit b45dcf7
when the dialog was modified to use ui::ListItem
2013-11-19 23:32:11 -05:00
Joel Madigan
85503ec691
Fix for issue 279
2013-11-18 20:23:39 -03:00
David Capello
49cf2bdcf0
Fix issue #277 , LoadPalette command can change the default palette
2013-11-15 17:01:28 -03:00
David Capello
ddf4a13490
Add the Palette menu with Load/Save commands
2013-11-15 16:56:50 -03:00
David Capello
f59f6f7d5e
Fix bug creating bitmaps with width < 0 in draw_color() function
2013-11-15 15:46:54 -03:00
David Capello
055907d008
Remove thumbnails generation code
...
At the moment we'll keep the timeline simple (without thumbnails).
2013-11-10 23:11:59 -03:00
David Capello
d39feb063c
Add SKIN_PART_NESW(name) macro in skin_parts.h
2013-11-10 23:06:00 -03:00
David Capello
5141079c5f
Keep timeline in sync with current editor and after commands are executed
2013-11-10 22:59:25 -03:00
David Capello
28fe226236
Fix bug: Notify Context's observers in Context::onAdd/RemoveDocument
2013-11-10 20:36:15 -03:00
David Capello
c9ab56cf69
Timeline: we've to observe the Context to know if the Document is destroyed
...
In this way the timeline can stop observing the Document when it's closed.
2013-11-10 20:29:51 -03:00
David Capello
d8fd4736d4
Timeline: smaller row size
2013-11-10 20:16:09 -03:00
David Capello
2173da9fcd
Move src/app/dialogs/maskcol.cpp to src/app/commands/cmd_mask_by_color.cpp
...
Finally src/app/dialogs directory is gone.
2013-11-10 18:34:52 -03:00
David Capello
b0cd01b425
Add the old "Animation Editor" as a timeline at the bottom of sprite editors (Workspace)
...
- Renamed AnimationEditor (dialogs/aniedit.h) to Timeline
class (app/ui/timeline.h)
- Renamed FilmEditor command to Timeline
2013-11-10 18:27:11 -03:00
David Capello
60602f78a8
Show an error if we cannot create a ToolLoopImpl
...
The main issue at the moment is that a std::bad_alloc exception can be
thrown if there isn't enough memory available when the user click the
sprite editor to start drawing.
2013-11-10 16:20:20 -03:00
David Capello
efbb3e52e2
Fix bug where dirty bounds are out of the image bounds
2013-11-10 16:09:46 -03:00
David Capello
13946b310c
Improve creation of Dirty() instance (fix issue #239 )
...
Now Dirty() ctor receives the bounds, so we don't need to iterate over
the whole image to find/shrink the modified region.
2013-11-10 15:54:36 -03:00
David Capello
48864b440b
Add ImageBuffer class
...
It tries to mitigate issue #239 , but it's not a full fix yet. A good
possibility would be to change the internal structure of images, creating
tiles. So we don't need to allocate/copy/clear/etc. huge images in each
step.
2013-11-10 13:26:48 -03:00
David Capello
01d79ddf9b
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-11-09 20:00:16 -03:00
David Capello
e5ba8e0922
Encapsulate Image implementation (private members, accessors, iterators, etc.)
...
- Rename _rgba/_graya to raster::rgba()/graya()
- Add raster::color_t type (alias for uint32_t)
- Rename raster::GfxObj to Object. And GfxObj::getType() to Object::type()
- Move conversion from raster::Image/Palette to Allegro BITMAP/RGB
to raster/conversion_alleg.h file
- Add raster/color_scales.h
- Rename image_* functions to raster/primitives.h
- Reimplement ink processing with templates instead of macros
2013-11-09 19:59:05 -03:00
David Capello
dbf4d0d490
Replace JRect/jrect struct with gfx::Rect
...
- Replaced Widget::rc -> Widget::m_bounds private member.
- Added Widget::offsetWidgets() method.
- Removed View::displaceWidgets().
2013-10-26 12:50:55 -03:00
David Capello
5b252c30f5
Add support for Unicode file names on Windows
...
- Fixed issue #46 : open .png files with Unicode chars
- Fixed issue #150 : ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
2013-10-14 19:58:11 -03:00
David Capello
d91b05667b
Fix compilation errors detected with gcc
2013-08-20 00:51:37 -03:00
David Capello
cde54f3682
Change BSD license to MIT in sublibraries and fix headers
2013-08-08 21:01:20 -03:00
David Capello
c88f9b172b
Refactor: Move app files to src/app subdirectory inside app namespace
...
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00
David Capello
6e62bcb82f
Add ui::WidgetType enum to replace JI_WIDGET macros
2013-04-03 22:07:24 -03:00
David Capello
dcd8627406
Separate ui::ListBox::Item into ui::ListItem class
2013-04-02 21:34:30 -03:00
David Capello
b8c3d39c35
Add shading ink (for indexed images only) and color swatches (no UI yet)
2013-04-02 21:02:18 -03:00
David Capello
d259b5c394
Add experimental webserver API and home page
...
Added webserver::IRequest/IResponse/IDelegate interfaces.
2013-04-01 19:37:02 -03:00
David Capello
2364776c44
Add HTTP webserver feature (for testing only at the moment)
2013-03-31 00:36:00 -03:00
David Capello
7c15aee0a5
Use new Entry suffixes in SpriteSizeCommand
2013-03-30 20:10:54 -03:00
David Capello
9b8e87da10
Update copyright year to 2013
2013-01-27 12:13:13 -03:00
David Capello
c5cf588370
Rename some member_functions to memberFunctions
2013-01-11 12:43:25 -03:00
David Capello
c913192fcb
Fix color_unittest compilation error
2013-01-07 13:20:30 -03:00
David Capello
a517deee0d
Add ui::Color and ThemeColor, move Color to app::Color
...
Now colors are customizable from skin.xml file.
2013-01-06 14:45:43 -03:00
David Capello
f0d8703ad8
Add app::Project class to handle projects in the near future.
2012-09-13 19:57:37 -03:00
David Capello
6b4591c5fd
Add shell mode to execute scripts interactively.
...
- Added Shell class.
- Added base::SystemConsole to adjust stdin/stdout on Windows platform.
2012-09-08 20:10:48 -03:00
David Capello
3c1ee303c6
Replace CheckArgs with app::AppOptions/base::ProgramOptions classes
2012-09-05 21:14:42 -03:00
David Capello
d46616e71f
Fix problems with Allegro + MacOSX + main().
...
Renamed the application main to app_main() so it's called from "she"
library. It's impossible to avoid dirty main() tricks with Allegro 4.
2012-08-24 00:24:51 -03:00
David Capello
f541fc8789
Add DataRecovery and Backup classes. They do nothing at the moment.
2012-08-22 21:05:02 -03:00
David Capello
525851e6a1
The color bar is now resizable.
...
- Added Splitter::Type so it can be by pixel or by percentage.
- Added Widget::load/saveLayout functions and Widget::onLoad/SaveLayout
events.
- Added LayoutIO interface so we can delegate the serialization of the
layout.
2012-07-18 01:10:43 -03:00
David Capello
846fbff4a7
Fix compilation errors in GCC.
2012-07-09 17:36:45 -03:00
David Capello
cd23721a97
Add MainWindow & MainMenuBar, and replace rootmenu module with AppMenus class.
...
Also the ToolBar widget was published in the toolbar.h header file.
2012-07-09 13:20:58 -03:00
David Capello
91bf74350e
Rename ui::Frame to ui::Window.
2012-07-08 23:24:42 -03:00
David Capello
ebb8d0c5bd
Replace deprecated "Monitor" struct from gui module with ui::Timers.
...
- Added ThumbnailGenerator class to avoid mixing the thumbnail generation
code with FileList widget.
- Added IFileOpProgress for fop_operate() so we can update the job progress
when the "file operation" progress changes.
2012-07-06 01:06:00 -03:00
David Capello
51df7a3af6
Rename src/widgets/statebar.[cpp/h] to src/widgets/status_bar.[cpp/h].
2012-06-17 22:56:40 -03:00
David Capello
55aca8567c
Move src/gui/ to src/ui/
2012-06-17 22:49:58 -03:00
David Capello
14dd4e7ae2
Add GUI library stuff into "ui" namespace (now ui-lib).
2012-06-17 22:02:54 -03:00
David Capello
a74b9d89a0
Remove JWidget type (replaced with Widget*).
2012-06-16 00:05:01 -03:00
David Capello
fa0bf031e2
Add support to load <textbox> widgets from .xml files.
2012-06-16 00:03:27 -03:00
David Capello
02e8c66da4
Remove signals and hooks in GUI code.
...
Several refactoring tasks where made:
- Removed the old Widget::id field (JID).
- Renamed Widget::get/setName to get/setId.
- Moved load_widget_from_xmlfile() to app::load_widget and WidgetLoader
class.
- Removed jhook structure & jwidget_add_hook function. Hooks were replaced
subclassing widgets.
- Added InitThemeEvent class and Widget::onInitTheme member function.
2012-06-15 23:37:59 -03:00
David Capello
ade6b0d333
Fix a bug trying to select a color index < 0 when there is no color selected in the palette view.
2012-05-02 23:09:56 -03:00
David Capello
385f4b66a2
Rename Color::toFormalString -> toHumanReadableString and replace bool param with an enum.
2012-02-12 23:32:34 -03:00
David Capello
041140f528
Change "imgtype" int type to PixelFormat enumeration.
2012-02-12 23:21:06 -03:00
David Capello
b8fbaad7fb
Replace Allegro Sprite Editor or ASE with ASEPRITE in all files.
2012-01-06 01:12:57 -03:00
David Capello
02a9d50524
Update copyright year to 2012.
2012-01-06 00:52:11 -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
c53590a0d5
Add IsDeveloper to [Updater] section and &dev=1 to updater URL.
2011-11-13 12:37:32 -03:00
David Capello
8d37636f1a
Fix some problems with sprites with non-zero transparent color.
...
+ color_utils::color_for_layer() must return the sprite's transparent
color when the "Mask" is specified.
+ New cels in ExpandCelCanvas must be created with the sprite's
transparent color.
2011-10-29 21:54:16 -03:00
David Capello
ce14cbfd89
Fix src/app/check_update.cpp compilation error with the renamed cfg.h to ini_file.h.
2011-07-27 22:21:30 -03:00
David Capello
f2b92d8107
Add support for "waitdays" attribute to control the "check for updates" frequency from the server.
2011-07-27 22:08:53 -03:00
David Capello
d22d46fd2b
Add ENABLE_UPDATER flag to disable the automatic updater.
2011-07-27 21:26:22 -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
e2a6ab7501
Show HSB instead of HSV in color selectors.
2011-03-27 22:02:59 -03:00
David Capello
69dff9b5d0
Use C99 uint*_t instead of ase_uint*.
2011-03-24 18:36:19 -03:00
David Capello
fd7e95035b
Add degree symbol in string representation of HSV colors.
2011-03-01 22:36:18 -03:00
David Capello
4e0ad7f839
Modify short color format in Color::toFormalString().
2011-02-20 18:59:41 -03:00
David Capello
bf395fca61
More updates for copyright year to 2011.
2011-01-20 18:32:31 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00
David Capello
75fd21164e
Fix color_utils::color_for_image() when the color is of index type and the imgtype is indexed.
2011-01-18 19:21:36 -03:00
David Capello
73178cd452
Replace "tests/test.h" to <gtest/gtest.h> (as various unittests are for independent libraries).
2010-12-11 10:03:23 -03:00
David Capello
d4caa65cae
Use gfx::Rgb and gfx::Hsv classes for HSV <-> RGB conversions.
...
+ Removed rgb_to_hsv_int() and hsv_to_rgb_int() functions.
+ Changed HSV ranges from [0,255] to H=[0,360], S=[0,100], V=[0,100].
+ Simplified Color class (src/app/color.h) using a m_type and m_value union.
2010-12-08 11:35:08 -03:00
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
46e847ef80
Remove internationalization stuff.
...
- Remove "_" macro.
- Remove src/intl/ directory.
2010-09-18 23:54:56 -03:00
David Capello
8efbb2e9f0
Modify app/color.h header guard prefix from CORE_ to APP_.
2010-09-18 01:20:41 -03:00
David Capello
d6ac296390
Move src/tests/test_color.cpp to src/app/color_unittest.cpp.
2010-08-25 15:57:29 -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