GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
display_info Class Reference

#include "display.h"

Collaboration diagram for display_info:
Collaboration graph
[legend]

Static Public Member Functions

static int depth (void)
 
static bool display_available (void)
 
static bool display_available (std::string &msg)
 
static int height (void)
 
static void no_window_system (void)
 
static int width (void)
 
static double x_dpi (void)
 
static double y_dpi (void)
 

Protected Member Functions

 display_info (bool query=true)
 

Private Member Functions

int do_depth (void) const
 
bool do_display_available (std::string &msg) const
 
int do_height (void) const
 
int do_width (void) const
 
double do_x_dpi (void) const
 
double do_y_dpi (void) const
 
void init (bool query=true)
 

Static Private Member Functions

static void cleanup_instance (void)
 
static bool instance_ok (bool query=true)
 

Private Attributes

int dp
 
bool dpy_avail
 
std::string err_msg
 
int ht
 
double rx
 
double ry
 
int wd
 

Static Private Attributes

static display_infoinstance = 0
 

Detailed Description

Definition at line 30 of file display.h.

Constructor & Destructor Documentation

display_info::display_info ( bool  query = true)
inlineprotected

Definition at line 36 of file display.h.

Referenced by instance_ok().

Member Function Documentation

static void display_info::cleanup_instance ( void  )
inlinestaticprivate

Definition at line 92 of file display.h.

Referenced by instance_ok().

static int display_info::depth ( void  )
inlinestatic

Definition at line 55 of file display.h.

Referenced by default_screendepth().

static bool display_info::display_available ( void  )
inlinestatic

Definition at line 70 of file display.h.

Referenced by check_starting_gui(), Fhave_window_system(), and G__init_fltk__().

static bool display_info::display_available ( std::string &  msg)
inlinestatic

Definition at line 76 of file display.h.

int display_info::do_depth ( void  ) const
inlineprivate

Definition at line 109 of file display.h.

bool display_info::do_display_available ( std::string &  msg) const
inlineprivate

Definition at line 114 of file display.h.

int display_info::do_height ( void  ) const
inlineprivate

Definition at line 107 of file display.h.

int display_info::do_width ( void  ) const
inlineprivate

Definition at line 108 of file display.h.

double display_info::do_x_dpi ( void  ) const
inlineprivate

Definition at line 111 of file display.h.

double display_info::do_y_dpi ( void  ) const
inlineprivate

Definition at line 112 of file display.h.

static int display_info::height ( void  )
inlinestatic

Definition at line 45 of file display.h.

Referenced by default_screensize().

void display_info::init ( bool  query = true)
private

Definition at line 36 of file display.cc.

References dp, dpy_avail, err_msg, ht, octave_get_display_info(), rx, ry, and wd.

bool display_info::instance_ok ( bool  query = true)
staticprivate
static void display_info::no_window_system ( void  )
inlinestatic

Definition at line 83 of file display.h.

Referenced by octave_initialize_interpreter().

static int display_info::width ( void  )
inlinestatic

Definition at line 50 of file display.h.

Referenced by default_screensize().

static double display_info::x_dpi ( void  )
inlinestatic

Definition at line 60 of file display.h.

Referenced by default_screenpixelsperinch().

static double display_info::y_dpi ( void  )
inlinestatic

Definition at line 65 of file display.h.

Referenced by default_screenpixelsperinch().

Member Data Documentation

int display_info::dp
private

Definition at line 97 of file display.h.

Referenced by init().

bool display_info::dpy_avail
private

Definition at line 103 of file display.h.

Referenced by init().

std::string display_info::err_msg
private

Definition at line 105 of file display.h.

Referenced by init().

int display_info::ht
private

Definition at line 95 of file display.h.

Referenced by init().

display_info * display_info::instance = 0
staticprivate

Definition at line 90 of file display.h.

Referenced by instance_ok().

double display_info::rx
private

Definition at line 100 of file display.h.

Referenced by init().

double display_info::ry
private

Definition at line 101 of file display.h.

Referenced by init().

int display_info::wd
private

Definition at line 96 of file display.h.

Referenced by init().


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