lyx_mirror/src/ColorCode.h
Abdelrazak Younes eea79637c7 Move Color::color enum to ColorCode.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 12:41:02 +00:00

154 lines
3.0 KiB
C++

// -*- C++ -*-
/**
* \file ColorCode.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Full author contact details are available in file CREDITS.
*/
#ifndef COLOR_CODE_H
#define COLOR_CODE_H
namespace lyx {
/// Names of colors, including all logical colors
enum ColorCode
{
/// No particular color---clear or default
Color_none,
/// The different text colors
Color_black,
///
Color_white,
///
Color_red,
///
Color_green,
///
Color_blue,
///
Color_cyan,
///
Color_magenta,
///
Color_yellow,
// Needed interface colors
/// Cursor color
Color_cursor,
/// Background color
Color_background,
/// Foreground color
Color_foreground,
/// Background color of selected text
Color_selection,
/// Text color in LaTeX mode
Color_latex,
/// The color used for previews
Color_preview,
/// Text color for notes
Color_note,
/// Background color of notes
Color_notebg,
/// Text color for comments
Color_comment,
/// Background color of comments
Color_commentbg,
/// Text color for greyedout inset
Color_greyedout,
/// Background color of greyedout inset
Color_greyedoutbg,
/// Shaded box background
Color_shadedbg,
/// Color for the depth bars in the margin
Color_depthbar,
/// Color for marking foreign language words
Color_language,
/// Text color for command insets
Color_command,
/// Background color for command insets
Color_commandbg,
/// Frame color for command insets
Color_commandframe,
/// Special chars text color
Color_special,
/// Graphics inset background color
Color_graphicsbg,
/// Math inset text color
Color_math,
/// Math inset background color
Color_mathbg,
/// Macro math inset background color
Color_mathmacrobg,
/// Math inset frame color under focus
Color_mathframe,
/// Math inset frame color not under focus
Color_mathcorners,
/// Math line color
Color_mathline,
/// caption frame color
Color_captionframe,
/// collapsable insets text
Color_collapsable,
/// collapsable insets frame
Color_collapsableframe,
/// Inset marker background color
Color_insetbg,
/// Inset marker frame color
Color_insetframe,
/// Error box text color
Color_error,
/// EOL marker color
Color_eolmarker,
/// Added space colour
Color_added_space,
/// Appendix marker color
Color_appendix,
/// changebar color
Color_changebar,
/// deleted text color
Color_deletedtext,
/// added text color
Color_addedtext,
/// Top and bottom line color
Color_topline,
/// Table line color
Color_tabularline,
/// Table line color
Color_tabularonoffline,
/// Bottom area color
Color_bottomarea,
/// Page break color
Color_pagebreak,
// FIXME: why are the next four separate ??
/// Color used for button frame
Color_buttonframe,
/// Color used for bottom background
Color_buttonbg,
/// Color used for buttom under focus
Color_buttonhoverbg,
// Logical attributes
/// Color is inherited
Color_inherit,
/// For ignoring updates of a color
Color_ignore
};
} // namespace lyx
#endif