Nokia N97 SDK
Example Applications Guide

CWhiskTransition Class Reference

#include <Slideshowrenderers.h>

Inheritance diagram for CWhiskTransition:

MTransitionRenderer List of all members.

Detailed Description

A whisk transition.

This transition introduces a new image by rapidly moving it on-screen from the left or right.

Definition at line 101 of file Slideshowrenderers.h.


Public Types

enum   TDirection { ELeft, ERight }

Public Member Functions

  CWhiskTransition (TDirection dir)
virtual void  Render (const TTexture &texture, GLfloat ratio)

Private Attributes

TDirection  iDir


Member Enumeration Documentation

enum CWhiskTransition::TDirection
 

Direction to move the new picture to.

Definition at line 107 of file Slideshowrenderers.h.

00108             {
00109             ELeft,
00110             ERight
00111             };


Constructor & Destructor Documentation

CWhiskTransition::CWhiskTransition (  TDirection  dir  ) 
 

Constructor.

Parameters:
dir  Chooses whether the picture should come in from the left or right.

Definition at line 219 of file Slideshowrenderers.cpp.

00219                                                 :
00220     iDir(dir)
00221     {
00222     }


Member Function Documentation

virtual void CWhiskTransition::Render (  const TTexture &  texture,
GLfloat  ratio
)  [virtual]
 

Draw a gradually appearing picture. The previous picture is assumed to already be on the screen.

See also:
CStaticRenderer.
Parameters:
texture  The picture that should appear.
ratio  Picture visibility in the range 0..1. A ratio of 0 means that the picture is not visible at all, while 1 means the new picture fully covers the screen just as if it was drawn with CStaticRenderer.

Implements MTransitionRenderer.


Member Data Documentation

TDirection CWhiskTransition::iDir [private]
 

Picture entry direction

Definition at line 122 of file Slideshowrenderers.h.


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

© Nokia 2009

Back to top