mkRPG
 All Classes Namespaces Functions
Public Member Functions | Public Attributes | Static Public Attributes
plugins.plugincurses.CursesPlugin Class Reference
Inheritance diagram for plugins.plugincurses.CursesPlugin:
plugins.chatcurses.ChatView plugins.menucurses.MenuView

List of all members.

Public Member Functions

def __init__
def handleKey
def draw
def repaint

Public Attributes

 win
 logic
 interface
 width

Static Public Attributes

int MINW = 0
int MINH = 0
string NAME = ""
tuple HELP = ()

Detailed Description

Subclass this to write a curse plugin, appearing as a window.
MINW and MINH are the asked size and X,Y the placement that can be
negative to be on the other side.
Fill NAME and HELP to have an entry in the menu. 

Member Function Documentation

don't call self.win.noutrefresh, it will be done when needed 

Reimplemented in plugins.chatcurses.ChatView, and plugins.menucurses.MenuView.

return True if the key has been used 

Reimplemented in plugins.chatcurses.ChatView.

update display 

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions