The affected widgets are: ColorBar::ScrollableView, ColorButton, and
StatusBar.
* Added Graphics::drawLine()
* Moved rectgrid and draw_color to modules/gfx.cpp
* 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).
Fix for issue 295, there was, what amounts to an off by one error in the
original code, which was causing the problem in issue 295.
This error was probably not very noticable in larger images, but as
pointed out by the bug report smaller images may contain more distortion
than necessary.
Wasn't entirely sure how to correct the original code, so replaced it with
entirely new code.
Also added unit test for resize methods, however the bilinear test only
checks using RGB, and not the other ImageTrait types.
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.
- 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.
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.