The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Private Attributes | List of all members
clip_rect_setter Struct Reference

#include <surface.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 172 of file surface.hpp.

Constructor & Destructor Documentation

◆ clip_rect_setter()

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

Definition at line 175 of file surface.hpp.

References surface::surface_.

◆ ~clip_rect_setter()

clip_rect_setter::~clip_rect_setter ( )

Definition at line 192 of file surface.hpp.

References surface::surface_.

Member Data Documentation

◆ operate_

const bool clip_rect_setter::operate_

Definition at line 202 of file surface.hpp.

◆ rect_

SDL_Rect clip_rect_setter::rect_

Definition at line 201 of file surface.hpp.

◆ surface_

surface clip_rect_setter::surface_

Definition at line 200 of file surface.hpp.

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