geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::ColourDesired Class Reference

#include <Platform.h>

Inheritance diagram for Scintilla::ColourDesired:
[legend]

Public Member Functions

constexpr ColourDesired (int co_=0) noexcept
 
constexpr ColourDesired (unsigned int red, unsigned int green, unsigned int blue) noexcept
 
constexpr bool operator== (const ColourDesired &other) const noexcept
 
constexpr int AsInteger () const noexcept
 
constexpr unsigned char GetRed () const noexcept
 
constexpr unsigned char GetGreen () const noexcept
 
constexpr unsigned char GetBlue () const noexcept
 
constexpr float GetRedComponent () const noexcept
 
constexpr float GetGreenComponent () const noexcept
 
constexpr float GetBlueComponent () const noexcept
 

Private Attributes

int co
 

Detailed Description

Definition at line 187 of file Platform.h.

Constructor & Destructor Documentation

◆ ColourDesired() [1/2]

constexpr Scintilla::ColourDesired::ColourDesired ( int  co_ = 0)
inlineexplicitconstexprnoexcept

Definition at line 190 of file Platform.h.

Referenced by Scintilla::ColourAlpha::GetColour().

◆ ColourDesired() [2/2]

constexpr Scintilla::ColourDesired::ColourDesired ( unsigned int  red,
unsigned int  green,
unsigned int  blue 
)
inlineconstexprnoexcept

Definition at line 193 of file Platform.h.

Member Function Documentation

◆ AsInteger()

constexpr int Scintilla::ColourDesired::AsInteger ( ) const
inlineconstexprnoexcept

◆ GetBlue()

constexpr unsigned char Scintilla::ColourDesired::GetBlue ( ) const
inlineconstexprnoexcept

◆ GetBlueComponent()

constexpr float Scintilla::ColourDesired::GetBlueComponent ( ) const
inlineconstexprnoexcept

Definition at line 223 of file Platform.h.

References Scintilla::componentMaximum, and GetBlue().

◆ GetGreen()

constexpr unsigned char Scintilla::ColourDesired::GetGreen ( ) const
inlineconstexprnoexcept

◆ GetGreenComponent()

constexpr float Scintilla::ColourDesired::GetGreenComponent ( ) const
inlineconstexprnoexcept

Definition at line 220 of file Platform.h.

References Scintilla::componentMaximum, and GetGreen().

◆ GetRed()

constexpr unsigned char Scintilla::ColourDesired::GetRed ( ) const
inlineconstexprnoexcept

◆ GetRedComponent()

constexpr float Scintilla::ColourDesired::GetRedComponent ( ) const
inlineconstexprnoexcept

Definition at line 217 of file Platform.h.

References Scintilla::componentMaximum, and GetRed().

◆ operator==()

constexpr bool Scintilla::ColourDesired::operator== ( const ColourDesired other) const
inlineconstexprnoexcept

Definition at line 197 of file Platform.h.

References co.

Member Data Documentation

◆ co

int Scintilla::ColourDesired::co
private

Definition at line 188 of file Platform.h.

Referenced by AsInteger(), GetBlue(), GetGreen(), GetRed(), and operator==().


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