History log of /haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorPickerView.cpp
Revision Date Author Comments
# 1011a95a 28-May-2018 Augustin Cavalier <waddlesplash@gmail.com>

Icon-O-Matic: Remove some dead code.

This caused -Wformat-overflow (but only if -ftree-vrp was enabled,
which at present we disable it universally.)


# fa19dd44 10-Dec-2015 looncraz <looncraz@looncraz.net>

apps: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.


# f333ade3 19-Jul-2015 Stephan Aßmus <superstippi@gmx.de>

Icon-O-Matic: Converted color picker to use layouting

Basically synced the code with what I did for WIP WonderBrush rewrite.
* Converted to use layouting
* Removed unused liblayout MView cruft
* Removed need for rendering in separate threads in favor of
rendering lazily. The original Colors! rendering was insanely slow
and inefficient, hence the separate rendering threads.
* Some style fixes along the way.
* Some minor bug fixes, too, but these were not actually triggered.
* Renamed selected_color_mode.h to SelectedColorMode.h


# cc3fb1f5 26-Apr-2013 Jérôme Duval <jerome.duval@gmail.com>

icon-o-matic: converts the result of round() to uint8 to fit in struct rgb_color.

* GCC 4.7 warning: narrowing conversion of '(int)(((ColorPickerView*)this)->ColorPickerView::r * 2.55e+2f)'
from 'int' to 'uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]


# 31e20891 23-Jun-2006 Stephan Aßmus <superstippi@gmx.de>

* added a color picker panel
(heavily modified, but originally based on Colors! by Werner Freytag)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17915 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f333ade30958169ee702db317a8197bebbad52f9 19-Jul-2015 Stephan Aßmus <superstippi@gmx.de>

Icon-O-Matic: Converted color picker to use layouting

Basically synced the code with what I did for WIP WonderBrush rewrite.
* Converted to use layouting
* Removed unused liblayout MView cruft
* Removed need for rendering in separate threads in favor of
rendering lazily. The original Colors! rendering was insanely slow
and inefficient, hence the separate rendering threads.
* Some style fixes along the way.
* Some minor bug fixes, too, but these were not actually triggered.
* Renamed selected_color_mode.h to SelectedColorMode.h


# cc3fb1f518747bb9b897b3868cc89577261a2e47 26-Apr-2013 Jérôme Duval <jerome.duval@gmail.com>

icon-o-matic: converts the result of round() to uint8 to fit in struct rgb_color.

* GCC 4.7 warning: narrowing conversion of '(int)(((ColorPickerView*)this)->ColorPickerView::r * 2.55e+2f)'
from 'int' to 'uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]


# 31e20891067fdd01ab68bc891566f070ff73ef58 23-Jun-2006 Stephan Aßmus <superstippi@gmx.de>

* added a color picker panel
(heavily modified, but originally based on Colors! by Werner Freytag)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17915 a95241bf-73f2-0310-859d-f6bbb57e9c96