Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

display_info Class Reference

#include "display.h"

Collaboration diagram for display_info:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static int depth (void)
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
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
int ht
double rx
double ry
int wd

Static Private Attributes

static display_infoinstance = 0

Detailed Description

Definition at line 28 of file display.h.


Constructor & Destructor Documentation

display_info::display_info ( bool  query = true  )  [inline, protected]

Definition at line 32 of file display.h.

References init().

Referenced by instance_ok().


Member Function Documentation

static void display_info::cleanup_instance ( void   )  [inline, static, private]

Definition at line 76 of file display.h.

References instance.

Referenced by instance_ok().

static int display_info::depth ( void   )  [inline, static]

Definition at line 50 of file display.h.

References do_depth(), instance, and instance_ok().

Referenced by default_screendepth().

int display_info::do_depth ( void   )  const [inline, private]

Definition at line 89 of file display.h.

References dp.

Referenced by depth().

int display_info::do_height ( void   )  const [inline, private]

Definition at line 87 of file display.h.

References ht.

Referenced by height().

int display_info::do_width ( void   )  const [inline, private]

Definition at line 88 of file display.h.

References wd.

Referenced by width().

double display_info::do_x_dpi ( void   )  const [inline, private]

Definition at line 91 of file display.h.

References rx.

Referenced by x_dpi().

double display_info::do_y_dpi ( void   )  const [inline, private]

Definition at line 92 of file display.h.

References ry.

Referenced by y_dpi().

static int display_info::height ( void   )  [inline, static]

Definition at line 40 of file display.h.

References do_height(), instance, and instance_ok().

Referenced by default_screensize().

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

Definition at line 45 of file display.cc.

References dp, ht, rx, ry, warning(), and wd.

Referenced by display_info().

bool display_info::instance_ok ( bool  query = true  )  [static, private]
static void display_info::no_window_system ( void   )  [inline, static]

Definition at line 67 of file display.h.

References instance_ok().

Referenced by octave_main().

static int display_info::width ( void   )  [inline, static]

Definition at line 45 of file display.h.

References do_width(), instance, and instance_ok().

Referenced by default_screensize().

static double display_info::x_dpi ( void   )  [inline, static]

Definition at line 55 of file display.h.

References do_x_dpi(), instance, and instance_ok().

Referenced by default_screenpixelsperinch().

static double display_info::y_dpi ( void   )  [inline, static]

Definition at line 60 of file display.h.

References do_y_dpi(), instance, and instance_ok().

Referenced by default_screenpixelsperinch().


Member Data Documentation

int display_info::dp [private]

Definition at line 81 of file display.h.

Referenced by do_depth(), and init().

int display_info::ht [private]

Definition at line 79 of file display.h.

Referenced by do_height(), and init().

display_info * display_info::instance = 0 [static, private]

Definition at line 74 of file display.h.

Referenced by cleanup_instance(), depth(), height(), instance_ok(), width(), x_dpi(), and y_dpi().

Definition at line 84 of file display.h.

Referenced by do_x_dpi(), and init().

Definition at line 85 of file display.h.

Referenced by do_y_dpi(), and init().

int display_info::wd [private]

Definition at line 80 of file display.h.

Referenced by do_width(), and init().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines