Hi Frédéric,
Frédéric Gaudy escribió:
Hello,
I'm a new contributor learning how to modify some party of openoffice.
I want to add a free color picker for the office and redesign the color
table which is "unusable" for me.
OOo has already a color picker dialog: SvColorDialog,
for the SvColorDialog see
svtools/inc/svtools/colrdlg.hxx
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/colrdlg.hrc
svtools/source/dialogs/colrdlg.cxx
for the classes ColorMixingControl (a ValueSet, the big rectangle on the
left of the SvColorDialog), SvColorControl (the big rectangle on the
right), ColorPreviewControl (the two controls on the bottom right corner
to preview the colors), see:
svtools/inc/svtools/colctrl.hxx
svtools/source/dialog/colctrl.cxx
So does anyone already working on it?
I'm trying to find the function called by the "tools->options : Colors". So
this is a tabpage in the Options dialog, also used in the Area tabpage, see:
svx/source/dialog/cuitabarea.hxx
svx/source/dialog/tpcolor.cxx
If you want to study color stuff, then
* also start with the class Color
/tools/inc/tools/color.hxx
/tools/source/generic/color.cxx
* and XColorList, XColorTable, XColorEntry
svx/inc/svx/xtable.hxx
svx/source/xoutdev/xtabcolr.cxx
as I don't remember anything else now, so you better search with
http://lxr.go-oo.org/
Also you may think joining the gsl mailing list!
Regards
Ariel.
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]