|
CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
One frame in the animation. More...
#include <gif.hpp>
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. | |
Private Attributes | |
| unsigned int | m_delay |
| Hundredths of a seconds to wait before continuing with the next frame. | |
| claw::graphic::gif::frame::frame | ( | ) |
| claw::graphic::gif::frame::frame | ( | std::size_t | w, |
| std::size_t | h | ||
| ) |
Constructor.
| w | The width of the frame. |
| h | The height of the frame. |
Definition at line 48 of file gif_frame.cpp.
| unsigned int claw::graphic::gif::frame::get_delay | ( | ) | const |
Get the time duration of this frame.
Definition at line 68 of file gif_frame.cpp.
Referenced by claw::graphic::gif::reader::make_frames().
{
return m_delay;
} // gif::frame::get_delay()
| void claw::graphic::gif::frame::set_delay | ( | unsigned int | d | ) |
Set the time duration of this frame.
| d | The delay. |
Definition at line 59 of file gif_frame.cpp.
Referenced by claw::graphic::gif::reader::make_frames(), and claw::graphic::gif::reader::read_frame_with_gce().
{
m_delay = d;
} // gif::frame::set_delay()
unsigned int claw::graphic::gif::frame::m_delay [private] |
1.7.3