22 # define GINGA_BEGIN_DECLS extern "C" { 23 # define GINGA_END_DECLS } 25 # define GINGA_BEGIN_DECLS 26 # define GINGA_END_DECLS 65 virtual ~
Ginga () = 0;
68 virtual bool start (
const std::string &, std::string *) = 0;
69 virtual bool stop () = 0;
71 virtual void resize (
int,
int) = 0;
72 virtual void redraw (cairo_t *) = 0;
74 virtual bool sendKeyEvent (
const std::string &,
bool) = 0;
75 virtual bool sendTickEvent (uint64_t, uint64_t, uint64_t) = 0;
78 virtual bool getOptionBool (
const std::string &) = 0;
79 virtual void setOptionBool (
const std::string &,
bool) = 0;
80 virtual int getOptionInt (
const std::string &) = 0;
81 virtual void setOptionInt (
const std::string &,
int) = 0;
82 virtual std::string getOptionString (
const std::string &) = 0;
83 virtual void setOptionString (
const std::string &, std::string) = 0;
87 static std::string version ();
Ginga object.
Definition: ginga.h:61
int height
Definition: ginga.h:42
Ginga options.
Definition: ginga.h:39
#define GINGA_END_DECLS
Definition: ginga.h:26
#define GINGA_BEGIN_DECLS
Definition: ginga.h:25
std::string background
Definition: ginga.h:46
GingaState
Ginga states.
Definition: ginga.h:52
bool debug
Definition: ginga.h:43
bool experimental
Definition: ginga.h:44
bool opengl
Definition: ginga.h:45
int width
Definition: ginga.h:41