The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
clip_rect_setter Struct Reference

#include <utils.hpp>

Public Member Functions

 clip_rect_setter (const surface &surf, const SDL_Rect *r, bool operate=true)
 
 ~clip_rect_setter ()
 

Private Attributes

surface surface_
 
SDL_Rect rect_
 
const bool operate_
 

Detailed Description

Definition at line 492 of file utils.hpp.

Constructor & Destructor Documentation

clip_rect_setter::clip_rect_setter ( const surface surf,
const SDL_Rect *  r,
bool  operate = true 
)
inline

Definition at line 495 of file utils.hpp.

References operate_, rect_, and surface_.

clip_rect_setter::~clip_rect_setter ( )
inline

Definition at line 503 of file utils.hpp.

References operate_, rect_, and surface_.

Member Data Documentation

const bool clip_rect_setter::operate_
private

Definition at line 511 of file utils.hpp.

Referenced by clip_rect_setter(), and ~clip_rect_setter().

SDL_Rect clip_rect_setter::rect_
private

Definition at line 510 of file utils.hpp.

Referenced by clip_rect_setter(), and ~clip_rect_setter().

surface clip_rect_setter::surface_
private

Definition at line 509 of file utils.hpp.

Referenced by clip_rect_setter(), and ~clip_rect_setter().


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