LibreOffice Module basctl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
basctl::ModulWindowLayout::SyntaxColors Class Reference
Inheritance diagram for basctl::ModulWindowLayout::SyntaxColors:
[legend]
Collaboration diagram for basctl::ModulWindowLayout::SyntaxColors:
[legend]

Public Member Functions

 SyntaxColors ()
 
virtual ~SyntaxColors () override
 
void SetActiveEditor (EditorWindow *pEditor_)
 
Color const & GetBackgroundColor () const
 
Color const & GetFontColor () const
 
Color const & GetColor (TokenType eType) const
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Private Member Functions

virtual void ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
void NewConfig (bool bFirst)
 

Private Attributes

Color m_aBackgroundColor
 
Color m_aFontColor
 
o3tl::enumarray< TokenType, ColoraColors
 
svtools::ColorConfig aConfig
 
VclPtr< EditorWindowpEditor
 

Detailed Description

Definition at line 435 of file baside2.hxx.

Constructor & Destructor Documentation

◆ SyntaxColors()

basctl::ModulWindowLayout::SyntaxColors::SyntaxColors ( )

Definition at line 1529 of file baside2.cxx.

References aConfig, and NewConfig().

◆ ~SyntaxColors()

basctl::ModulWindowLayout::SyntaxColors::~SyntaxColors ( )
overridevirtual

Definition at line 1537 of file baside2.cxx.

Member Function Documentation

◆ ConfigurationChanged()

void basctl::ModulWindowLayout::SyntaxColors::ConfigurationChanged ( utl::ConfigurationBroadcaster ,
ConfigurationHints   
)
overrideprivatevirtual

Implements utl::ConfigurationListener.

Definition at line 1543 of file baside2.cxx.

◆ GetBackgroundColor()

Color const & basctl::ModulWindowLayout::SyntaxColors::GetBackgroundColor ( ) const
inline

Definition at line 443 of file baside2.hxx.

References m_aBackgroundColor.

Referenced by basctl::ModulWindowLayout::GetSyntaxBackgroundColor().

◆ GetColor()

Color const & basctl::ModulWindowLayout::SyntaxColors::GetColor ( TokenType  eType) const
inline

Definition at line 445 of file baside2.hxx.

References aColors, and eType.

Referenced by basctl::ModulWindowLayout::GetSyntaxColor().

◆ GetFontColor()

Color const & basctl::ModulWindowLayout::SyntaxColors::GetFontColor ( ) const
inline

Definition at line 444 of file baside2.hxx.

References m_aFontColor.

Referenced by basctl::ModulWindowLayout::GetFontColor().

◆ NewConfig()

void basctl::ModulWindowLayout::SyntaxColors::NewConfig ( bool  bFirst)
private

◆ SetActiveEditor()

void basctl::ModulWindowLayout::SyntaxColors::SetActiveEditor ( EditorWindow pEditor_)
inline

Member Data Documentation

◆ aColors

o3tl::enumarray<TokenType, Color> basctl::ModulWindowLayout::SyntaxColors::aColors
private

Definition at line 455 of file baside2.hxx.

Referenced by GetColor().

◆ aConfig

svtools::ColorConfig basctl::ModulWindowLayout::SyntaxColors::aConfig
private

Definition at line 457 of file baside2.hxx.

Referenced by SyntaxColors().

◆ m_aBackgroundColor

Color basctl::ModulWindowLayout::SyntaxColors::m_aBackgroundColor
private

Definition at line 452 of file baside2.hxx.

Referenced by GetBackgroundColor().

◆ m_aFontColor

Color basctl::ModulWindowLayout::SyntaxColors::m_aFontColor
private

Definition at line 453 of file baside2.hxx.

Referenced by GetFontColor().

◆ pEditor

VclPtr<EditorWindow> basctl::ModulWindowLayout::SyntaxColors::pEditor
private

Definition at line 459 of file baside2.hxx.

Referenced by SetActiveEditor().


The documentation for this class was generated from the following files: