23 #if !defined (octave_display_h)
24 #define octave_display_h 1
37 : ht (1), wd (1), dp (0), rx (72), ry (72), dpy_avail (false),
45 static int height (
void)
47 return instance_ok () ? instance->do_height () : 0;
50 static int width (
void)
52 return instance_ok () ? instance->do_width () : 0;
55 static int depth (
void)
57 return instance_ok () ? instance->do_depth () : 0;
60 static double x_dpi (
void)
62 return instance_ok () ? instance->do_x_dpi () : 0;
65 static double y_dpi (
void)
67 return instance_ok () ? instance->do_y_dpi () : 0;
73 return instance_ok () ? instance->do_display_available (msg) :
false;
78 return instance_ok () ? instance->do_display_available (msg) :
false;
114 bool do_display_available (std::string& msg)
const
121 void init (
bool query =
true);
123 static bool instance_ok (
bool query =
true);