The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Private Member Functions | Friends | List of all members
gui2::twidget::tredraw_action Class Reference

Visibility set by the engine. More...

#include <widget.hpp>

Inheritance diagram for gui2::twidget::tredraw_action:
Inheritance graph

Public Types

enum  scoped_enum { full, partly, none }
 

Private Member Functions

 tredraw_action ()
 

Friends

class tno_such_friend_exists_but_it_makes_the_compiler_happy
 

Detailed Description

Visibility set by the engine.

This state only will be used if visible_ is tvisible::visible depending on this state the widget might not be visible after all.

Definition at line 113 of file widget.hpp.

Member Enumeration Documentation

Todo:
C++11 use a scoped enum.
Enumerator
full 

The widget is fully visible.

The widget should be drawn if dirty_ is true. The entire widget's rectangle should be redrawn.

partly 

The widget is partly visible.

The should be drawn if dirty_ is true. The rectangle to redraw in determined by clipping_rectangle_

none 

The widget is not visible.

The widget should not be drawn if dirty_ is true.

Definition at line 120 of file widget.hpp.

Constructor & Destructor Documentation

gui2::twidget::tredraw_action::tredraw_action ( )
private

Friends And Related Function Documentation

friend class tno_such_friend_exists_but_it_makes_the_compiler_happy
friend

Definition at line 115 of file widget.hpp.


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