Numworks Epsilon
1.4.1
Graphing Calculator Operating System
solid_color_view.h
Go to the documentation of this file.
1
#ifndef ESCHER_SOLID_COLOR_VIEW_H
2
#define ESCHER_SOLID_COLOR_VIEW_H
3
4
#include <
escher/view.h
>
5
6
class
SolidColorView
:
public
View
{
7
public
:
8
SolidColorView
(
KDColor
color);
9
virtual
void
setColor
(
KDColor
color);
10
void
drawRect
(
KDContext
* ctx,
KDRect
rect)
const override
;
11
protected
:
12
#if ESCHER_VIEW_LOGGING
13
const
char
* className()
const override
;
14
void
logAttributes(std::ostream &os)
const override
;
15
#endif
16
private
:
17
KDColor
m_color;
18
};
19
20
#endif
SolidColorView::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
solid_color_view.cpp:16
SolidColorView::SolidColorView
SolidColorView(KDColor color)
Definition:
solid_color_view.cpp:3
view.h
SolidColorView
Definition:
solid_color_view.h:6
KDContext
Definition:
context.h:8
KDRect
Definition:
rect.h:26
KDColor
Definition:
color.h:6
View
Definition:
view.h:23
SolidColorView::setColor
virtual void setColor(KDColor color)
Definition:
solid_color_view.cpp:9
epsilon
escher
include
escher
solid_color_view.h
Generated by
1.8.14