src/subscreenhandler.h File Reference

Handler for the subscreen. More...

#include "types.h"

Include dependency graph for subscreenhandler.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SubScreenHandler
 Handler for the subscreen. More...

Functions

int randomize_positions (int card_index, int package_records, int &card0, int &card1, int &card2, int &card3)


Detailed Description

Handler for the subscreen.

Definition in file subscreenhandler.h.


Function Documentation

int randomize_positions ( int  card_index,
int  package_records,
int &  card0,
int &  card1,
int &  card2,
int &  card3 
)

Calculates 4 random cards including the correct one given by card_index.

Returns:
The correct card position

Definition at line 538 of file subscreenhandler.cpp.

Referenced by DSMemorizer::KanjiQuizMode(), and DSMemorizer::VocabularyQuizMode().


Generated on Fri Oct 2 10:25:28 2009 for DSMemorizer by  doxygen 1.5.8