Claw 1.7.0
Public Types | Public Member Functions
claw::graphic::gif::frame Class Reference

One frame in the animation. More...

#include <gif.hpp>

Inheritance diagram for claw::graphic::gif::frame:
claw::graphic::image

List of all members.

Public Types

typedef image super
 The type of the parent class.

Public Member Functions

 frame ()
 Constructor.
 frame (std::size_t w, std::size_t h)
 Constructor.
void set_delay (unsigned int d)
 Set the time duration of this frame.
unsigned int get_delay () const
 Get the time duration of this frame.

Detailed Description

One frame in the animation.

Definition at line 55 of file gif.hpp.


Constructor & Destructor Documentation

claw::graphic::gif::frame::frame ( std::size_t  w,
std::size_t  h 
)

Constructor.

Parameters:
wThe width of the frame.
hThe height of the frame.

Definition at line 48 of file gif_frame.cpp.


Member Function Documentation

void claw::graphic::gif::frame::set_delay ( unsigned int  d)

Set the time duration of this frame.

Parameters:
dThe delay.

Definition at line 59 of file gif_frame.cpp.


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