DynRPG v0.32 Unofficial
Plugin SDK
Public Attributes | List of all members
RPG::WindowMenuStatus Class Reference

Used for quit menu from the main menu. More...

#include <WindowMenuStatus.h>

Inheritance diagram for RPG::WindowMenuStatus:
RPG::Window

Public Attributes

int heroId
 Database ID of the hero selected.
 
WindowwinHpMpExp
 The sub-window for HP/MP/Exp (Upper-right)
 
WindowwinMain
 The sub-window for the hero's name/class/title/condition/level.
 
WindowwinEquipment
 The sub-window for the quipment.
 
- Public Attributes inherited from RPG::Window
int choicesPerRow
 The number of choices per row.
 
Imageimage
 The actual image of the window after it's been drawn.
 
ImageimageFrame
 The window's frame & background (if redrawn).
 
ImageimageText
 The window's text (if redrawn), but can only draw underneath.
 
int x
 The window's x-position.
 
int y
 The window's y-position.
 
int width
 The window's width.
 
int height
 The window's height.
 
int jumpX
 Change in x-position when moving cursor.
 
int jumpY
 Change in y-position when moving cursor.
 
int rowsPerPage
 Number of text rows on the window (choices or plain text)
 
int cursorX
 The cursor's starting x-position (upper-left choice)
 
int cursorY
 The cursor's starting y-position (upper-left choice)
 
int cursorWidth
 The width of the cursor.
 
int cursorHeight
 The height of the cursor.
 
int totalChoices
 The total number of choices in the window.
 
int currentChoice
 The current choice selected (zero-based)
 
int currentScroll
 Amount of choices above current choice.
 
int scrollTimer
 The timer between cursor movements (-12 or 12, minus or plus 4 each frame until it's 0)
 
bool choiceVisible
 Has the choice bar been drawn? (It can still be considered visible if another window is active)
 
bool choiceActive
 Is the choice bar of the window active?
 
int choiceTimer
 The number of frames the choice has been selected.
 
int rollOn1
 
int rollOn2
 
int winTimer
 The total number of frames the window has been visible before a RPG::Scene change.
 
DListPtr< char > * text
 The window's text (doesn't work yet)
 
int fontSet
 The window's font set?
 

Additional Inherited Members

- Public Member Functions inherited from RPG::Window
 Window ()
 Experimental.
 
 ~Window ()
 Experimental.
 
void create (int width, int height, int x, int y, bool startHidden)
 Experimental.
 
void redraw ()
 Experimental.
 
void updateCursor (int choice)
 Experimental.
 
void clear ()
 Clears the specified window of any text, so that it can be drawn on again.
 
void refresh ()
 Experimental.
 
void destroy ()
 Removes the specified window object and all of its components.
 
void drawString (int x, int y, std::string text, int color, bool initialize)
 Built-in RM2k3 function that draws a string to a Window. (experimental)
 
int getSelected ()
 Gets the index of a selection within a RPG::Window object (Example: int selected = RPG::battleData->winMonTarget->getSelected())
 

Detailed Description

Used for quit menu from the main menu.

See also
RPG::SceneMenu

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