#include <alpha.h>
Public Types | |
enum | { MAX_ALPHA = 0xFFFF } |
typedef sigc::slot< guint32, const Glib::RefPtr< Alpha > & > | SlotAlphaFunc |
For instance, guint32 on_alpha(const Glib::RefPtr<Alpha>& alpha);. | |
Public Member Functions | |
virtual | ~Alpha () |
ClutterAlpha * | gobj () |
Provides access to the underlying C GObject. | |
const ClutterAlpha * | gobj () const |
Provides access to the underlying C GObject. | |
ClutterAlpha * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | set_timeline (const Glib::RefPtr< Timeline > &timeline) |
Binds alpha to timeline. | |
Glib::RefPtr< Timeline > | get_timeline () const |
Gets the Clutter::Timeline bound to alpha. | |
guint32 | get_alpha () const |
Query the current alpha value. | |
void | set_func (const SlotAlphaFunc &slot) |
Glib::PropertyProxy_ReadOnly < guint > | property_alpha () const |
Alpha value. | |
Glib::PropertyProxy < Glib::RefPtr< Timeline > > | property_timeline () |
Timeline. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Timeline > > | property_timeline () const |
Timeline. | |
Static Public Member Functions | |
static Glib::RefPtr< Alpha > | create () |
static Glib::RefPtr< Alpha > | create (const Glib::RefPtr< Timeline > &timeline, const SlotAlphaFunc &slot) |
Pre-defined Alpha Functions | |
static guint32 | ramp_inc_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | ramp_dec_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | ramp_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | sine_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | sine_inc_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | sine_dec_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | sine_half_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | square_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | smoothstep_inc_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | smoothstep_dec_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | exp_inc_func (const Glib::RefPtr< Alpha > &alpha) |
static guint32 | exp_dec_func (const Glib::RefPtr< Alpha > &alpha) |
Protected Member Functions | |
Alpha () | |
Alpha (const Glib::RefPtr< Timeline > &timeline, const SlotAlphaFunc &slot) | |
Creates a new Alpha instance and sets the timeline and the alpha function. | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Clutter::Alpha > | wrap (ClutterAlpha *object, bool take_copy=false) |
A Glib::wrap() method for this object. |
typedef sigc::slot<guint32, const Glib::RefPtr<Alpha>&> Clutter::Alpha::SlotAlphaFunc |
For instance, guint32 on_alpha(const Glib::RefPtr<Alpha>& alpha);.
virtual Clutter::Alpha::~Alpha | ( | ) | [virtual] |
Clutter::Alpha::Alpha | ( | ) | [protected] |
Clutter::Alpha::Alpha | ( | const Glib::RefPtr< Timeline > & | timeline, | |
const SlotAlphaFunc & | slot | |||
) | [protected] |
static Glib::RefPtr<Alpha> Clutter::Alpha::create | ( | const Glib::RefPtr< Timeline > & | timeline, | |
const SlotAlphaFunc & | slot | |||
) | [static] |
static Glib::RefPtr<Alpha> Clutter::Alpha::create | ( | ) | [static] |
static guint32 Clutter::Alpha::exp_dec_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::exp_inc_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
guint32 Clutter::Alpha::get_alpha | ( | ) | const |
Query the current alpha value.
Glib::RefPtr<Timeline> Clutter::Alpha::get_timeline | ( | ) | const |
const ClutterAlpha* Clutter::Alpha::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
ClutterAlpha* Clutter::Alpha::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
ClutterAlpha* Clutter::Alpha::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy_ReadOnly<guint> Clutter::Alpha::property_alpha | ( | ) | const |
Alpha value.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Timeline> > Clutter::Alpha::property_timeline | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Timeline> > Clutter::Alpha::property_timeline | ( | ) |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
static guint32 Clutter::Alpha::ramp_dec_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::ramp_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::ramp_inc_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
void Clutter::Alpha::set_func | ( | const SlotAlphaFunc & | slot | ) |
void Clutter::Alpha::set_timeline | ( | const Glib::RefPtr< Timeline > & | timeline | ) |
static guint32 Clutter::Alpha::sine_dec_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::sine_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::sine_half_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::sine_inc_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::smoothstep_dec_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::smoothstep_inc_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
static guint32 Clutter::Alpha::square_func | ( | const Glib::RefPtr< Alpha > & | alpha | ) | [static] |
Glib::RefPtr< Clutter::Alpha > wrap | ( | ClutterAlpha * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |