Cairo-Dock  3.4.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_CairoParticle Struct Reference

A particle of a particle system. More...

Data Fields

GLfloat x
 horizontal position, in fraction of the particle system's width, and relatively to the center of the particle system. So it is comprised between -1 and 1.
 
GLfloat y
 vertical position, in fraction of the particle system's height, and relatively to the bottom of the particle system. So it is comprised between 0 and 1.
 
GLfloat z
 depth of the particle, negative to be "behind". 0 means it is at the same depth as icons.
 
GLfloat vx
 horizontal speed
 
GLfloat vy
 vertical speed
 
GLfloat fWidth
 size
 
GLfloat color [4]
 color r,g,b,a
 
GLfloat fOscillation
 phase of the oscillations.
 
GLfloat fOmega
 oscillation variation speed.
 
GLfloat fSizeFactor
 current size factor
 
GLfloat fResizeSpeed
 size variation speed.
 
gint iLife
 current life time, decreased by 1 at each step.
 
gint iInitialLife
 total life time.
 

Detailed Description

A particle of a particle system.


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