NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
cellattributes.hpp File Reference
#include <wx/renderer.h>
#include <wx/generic/grideditors.h>
#include "cellvalueshader.hpp"
Include dependency graph for cellattributes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AdvStringCellRenderer
 This class represents an extension to the usual cell string renderer to provide functionalities to highlight the cursor position and automatically update the surrounding frame. More...
 
class  AdvBooleanCellRenderer
 This class represents a special renderer for three-state booleans, i.e. booleans, which may have a undefined (e.g. NAN) value. More...
 
class  CombinedCellEditor
 This class represents the grid cell editor which automatically selects the necessary edit control for the underlying column data type. More...
 

Functions

static double calculateLuminosity (const wxColour &c)
 Calculates the luminosity of the passed colour. More...
 

Variables

static wxColour HeadlineColor = wxColour(192, 192, 192)
 
static wxColour FrameColor = wxColour(230, 230, 230)
 
static wxColour HighlightColor = wxColour(192, 227, 248)
 
static wxColour HighlightHeadlineColor = wxColour(131, 200, 241)
 

Function Documentation

◆ calculateLuminosity()

static double calculateLuminosity ( const wxColour &  c)
static

Calculates the luminosity of the passed colour.

Parameters
cconst wxColour&
Returns
double

Definition at line 41 of file cellattributes.hpp.

Referenced by AdvStringCellRenderer::createCustomColorAttr(), and AdvStringCellRenderer::createHighlightedAttr().

Variable Documentation

◆ FrameColor

wxColour FrameColor = wxColour(230, 230, 230)
static

◆ HeadlineColor

wxColour HeadlineColor = wxColour(192, 192, 192)
static

◆ HighlightColor

wxColour HighlightColor = wxColour(192, 227, 248)
static

◆ HighlightHeadlineColor

wxColour HighlightHeadlineColor = wxColour(131, 200, 241)
static

Definition at line 31 of file cellattributes.hpp.

Referenced by AdvStringCellRenderer::createHighlightedAttr().