zenilib: Zeni::Widget_Renderer_Color Class Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Zeni::Widget_Renderer_Color Class Reference

`#include <Widget.h>`

Inherits Zeni::Widget_Render_Function.

Inherited by Zeni::Widget_Renderer_Tricolor.

## Public Member Functions

| Widget_Renderer_Color (const Color &color_)
virtual Widget_Renderer_Color * | get_duplicate () const
virtual void | render_to (const Widget &widget)
| rect must be of type Widget_Rectangle More...
Public Member Functions inherited from Zeni::Widget_Render_Function
virtual | ~Widget_Render_Function ()

## Public Attributes

Color | color

## Detailed Description

Definition at line 350 of file Widget.h.

## Constructor & Destructor Documentation

Zeni::Widget_Renderer_Color::Widget_Renderer_Color | ( | const Color & | color_ | ) |

inline

Definition at line 247 of file Widget.hxx.

Referenced by get_duplicate().

## Member Function Documentation

Widget_Renderer_Color * Zeni::Widget_Renderer_Color::get_duplicate | ( |  | ) | const

virtual

Implements Zeni::Widget_Render_Function.

Reimplemented in Zeni::Widget_Renderer_Tricolor.

Definition at line 85 of file Widget.cpp.

References Widget_Renderer_Color().

void Zeni::Widget_Renderer_Color::render_to | ( | const Widget & | widget | ) |

virtual

rect must be of type Widget_Rectangle

Implements Zeni::Widget_Render_Function.

Reimplemented in Zeni::Widget_Renderer_Tricolor.

Definition at line 71 of file Widget.cpp.

References color, Zeni::Widget_Rectangle::get_lower_left(), Zeni::Widget_Rectangle::get_lower_right(), Zeni::Widget_Rectangle::get_upper_left(), Zeni::Widget_Rectangle::get_upper_right(), Zeni::get_Video(), and Zeni::Video::render().

Referenced by Zeni::Widget_Renderer_Tricolor::render_to().

## Member Data Documentation

Color Zeni::Widget_Renderer_Color::color

Definition at line 359 of file Widget.h.

Referenced by render_to().

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

- zenilib/jni/external/zenilib/zeni_rest/Zeni/Widget.h
- zenilib/jni/external/zenilib/zeni_rest/Widget.cpp
- zenilib/jni/external/zenilib/zeni_rest/Zeni/Widget.hxx