freg  0.3
Free-Roaming Elementary Game
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros | Enumerations | Variables
CursedScreen.h File Reference

Provides curses (text-based graphics interface) screen for freg. More...

#include <QMutex>
#include <ncursesw/ncurses.h>
#include "screens/VirtScreen.h"
Include dependency graph for CursedScreen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Screen
 

Macros

#define NOX
 
#define _X_OPEN_SOURCE_EXTENDED
 

Enumerations

enum  actions {
  ACTION_USE, ACTION_THROW, ACTION_OBTAIN, ACTION_INSCRIBE,
  ACTION_BUILD, ACTION_CRAFT, ACTION_WIELD
}
 
enum  screen_errors { SCREEN_NO_ERROR = 0, HEIGHT_NOT_ENOUGH, WIDTH_NOT_ENOUGH }
 

Variables

const int SCREEN_SIZE = 30
 

Detailed Description

Provides curses (text-based graphics interface) screen for freg.

Definition in file CursedScreen.h.

Macro Definition Documentation

#define _X_OPEN_SOURCE_EXTENDED

Definition at line 34 of file CursedScreen.h.

#define NOX

Definition at line 26 of file CursedScreen.h.

Enumeration Type Documentation

enum actions
Enumerator
ACTION_USE 
ACTION_THROW 
ACTION_OBTAIN 
ACTION_INSCRIBE 
ACTION_BUILD 
ACTION_CRAFT 
ACTION_WIELD 

Definition at line 41 of file CursedScreen.h.

Enumerator
SCREEN_NO_ERROR 
HEIGHT_NOT_ENOUGH 
WIDTH_NOT_ENOUGH 

Definition at line 51 of file CursedScreen.h.

Variable Documentation

const int SCREEN_SIZE = 30

Definition at line 39 of file CursedScreen.h.