lyx_mirror/src/frontends
Georg Baum 399e6e788c Store colors as rgb values in branches.
* src/frontends/xforms/Color.[Ch]: move to src

	* src/Color.[Ch] (getRGBColor): move to src/frontends/*/lyx_gui.C

	* src/BranchList.h
	(Branch::color_): change type to lyx::RGBColor

	* src/BranchList.[Ch]
	(Branch): new constrcutor, set color_ to LColor::background
	(getColor, setColor): adapt to type change of color_

	* src/bufferparams.C
	(BufferParams::writeFile): adapt to type change of branch color

	* src/frontends/lyx_gui.h
	* src/frontends/gtk/lyx_gui.C
	* src/frontends/qt2/lyx_gui.C
	* src/frontends/qt4/lyx_gui.C
	* src/frontends/xforms/lyx_gui.C
	(getRGBColor): move from src/Color.[Ch] here

	* src/frontends/gtk/lyx_gui.C
	* src/frontends/xforms/lyx_gui.C
	(hexname): use getRGBColor

	* src/frontends/gtk/GDocument.C
	(update): adapt to type change of branch color
	(apply): add comment about color chooser

	* src/frontends/qt2/QDocumentDialog.C
	(updateBranchView): adapt to type change of branch color
	(toggleBranchColor): ditto

	* src/frontends/qt2/lcolorcache.[Ch]
	* src/frontends/qt4/lcolorcache.[Ch]
	(rgb2qcolor): new utility function

	* src/frontends/qt4/QBranches.C
	(QBranches::update): adapt to type change of branch color
	(QBranches::on_colorPB_clicked): ditto

	* src/frontends/xforms/FormDocument.C
	(get_current_color): adapt to type change of branch color
	(FormDocument::branch_update):

	* src/frontends/xforms/FormPreferences.C
	(FormPreferences::Colors::LoadBrowse): adapt to RGBColor changes

	* src/frontends/xforms/FormPreferences.h: remove unneeded RGBColor
	forward declaration 

	* src/frontends/xforms/XWorkArea.C
	(XWorkArea::XWorkArea): adapt to RGBColor changes

	* src/frontends/xforms/Makefile.am: remove Color.[Ch]

	* src/frontends/xforms/FormColorpicker.[Ch]: adapt to RGBColor changes

	* src/frontends/xforms/xformsImage.C: adapt to RGBColor changes

	* src/frontends/controllers/ControlDocument.C
	(ControlDocument::dispatchParams): adapt to type change of branch color

	* src/Makefile.am: add Color.[Ch]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:04:05 +00:00
..
controllers Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
gtk Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
qt2 Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
qt4 Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
xforms Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
Alert_pimpl.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
Alert.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
Alert.h
ChangeLog fix drawing of buttons (bug 2328) 2006-03-15 15:32:32 +00:00
Dialogs.C fix bug 1879 2005-05-17 15:33:16 +00:00
Dialogs.h disable open dialogs if applying them is not allowed 2005-04-13 09:43:58 +00:00
FileDialog.h
font_metrics.h
guiapi.C Convert the preamble dialog to the Dialog-based scheme. 2004-03-31 20:55:59 +00:00
guiapi.h Convert the preamble dialog to the Dialog-based scheme. 2004-03-31 20:55:59 +00:00
key_state.h
lyx_gui.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
LyXKeySym.h display key binding in native UI style 2004-03-26 15:12:35 +00:00
LyXKeySymFactory.h
LyXScreenFactory.h
LyXView.C Scrollbar fixes 2005-08-02 14:25:48 +00:00
LyXView.h make sure the 'setStatus(Collapsed)' crash won't occur otherwise 2005-05-06 20:00:31 +00:00
Makefile.am setup the buildsystem for building qt4 2006-03-05 17:29:08 +00:00
Menubar.h
mouse_state.h
nullpainter.C Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
nullpainter.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
Painter.C fix drawing of buttons (bug 2328) 2006-03-15 15:32:32 +00:00
Painter.h fix drawing of buttons (bug 2328) 2006-03-15 15:32:32 +00:00
pch.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
screen.C Selective expose patch 2006-03-20 15:05:07 +00:00
screen.h Axe processEvents, fix cursor draw artifacts, put update flags into an enum, 2005-05-31 14:40:30 +00:00
Timeout.C revert stupid patch 2005-06-16 14:18:18 +00:00
Timeout.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
Toolbars.C Whitespace, only whitespace. 2004-11-26 14:52:54 +00:00
Toolbars.h code refactorization in toolbars 2004-11-09 12:40:34 +00:00
WorkArea.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
WorkAreaFactory.h A layout engine for XForms. 2004-04-28 17:22:05 +00:00