CAniVScroller::CAniVScroller (void) :
    m_cyEnd(0.0)

//	CAniVScroller constructor

{
    SetPropertyInteger(PROP_VISIBLE, 1);
    SetPropertyVector(PROP_POSITION, CVector());
    SetPropertyVector(PROP_SCALE, CVector(1.0, 1.0));
    SetPropertyInteger(PROP_ROTATION, 0);
    SetPropertyOpacity(PROP_OPACITY, 255);
    SetPropertyMetric(PROP_VIEWPORT_HEIGHT, 100.0);
    SetPropertyMetric(PROP_FADE_EDGE_HEIGHT, 20.0);
    SetPropertyMetric(PROP_SCROLL_POS, 0.0);
    SetPropertyMetric(PROP_MAX_SCROLL_POS, 0.0);
    SetPropertyMetric(PROP_PADDING_BOTTOM, 0.0);
}
Esempio n. 2
0
 /** Set a boolean configuration property. Boolean properties
  *  are stored on the integer stack internally so it's possible
  *  to set them via #SetPropertyBool and query them with
  *  #GetPropertyBool and vice versa.
  * @see SetPropertyInteger()
  */
 bool SetPropertyBool(const char* szName, bool value)    {
     return SetPropertyInteger(szName,value);
 }