ARB
Public Member Functions | List of all members
AW_common Class Referenceabstract

#include <aw_common.hxx>

Inheritance diagram for AW_common:
Inheritance graph
[legend]

Public Member Functions

 AW_common (AW_rgb *&fcolors, AW_rgb *&dcolors, long &dcolors_count)
 
virtual ~AW_common ()
 
void reset_style ()
 
const AW_screen_areaget_screen () const
 
void set_screen_size (unsigned int width, unsigned int height)
 
void set_screen (const AW_screen_area &screen_)
 
AW_rgb get_color (AW_color_idx color) const
 
AW_rgb get_data_color (int i) const
 
int find_data_color_idx (AW_rgb color) const
 
int get_data_color_size () const
 
AW_rgb get_XOR_color () const
 
void new_gc (int gc)
 
bool gc_mapable (int gc) const
 
const AW_GCmap_gc (int gc) const
 
AW_GCmap_mod_gc (int gc)
 
const AW_font_limitsget_font_limits (int gc, char c) const
 

Detailed Description

Definition at line 213 of file aw_common.hxx.

Constructor & Destructor Documentation

AW_common::AW_common ( AW_rgb *&  fcolors,
AW_rgb *&  dcolors,
long dcolors_count 
)
inline
virtual AW_common::~AW_common ( )
inlinevirtual

Definition at line 237 of file aw_common.hxx.

Member Function Documentation

void AW_common::reset_style ( )
inline

Definition at line 239 of file aw_common.hxx.

References AW_GC_set::reset_style().

Referenced by AW_stylable::reset_style().

const AW_screen_area& AW_common::get_screen ( ) const
inline
void AW_common::set_screen_size ( unsigned int  width,
unsigned int  height 
)
inline
void AW_common::set_screen ( const AW_screen_area screen_)
inline

Definition at line 248 of file aw_common.hxx.

References aw_assert, AW_screen_area::l, and AW_screen_area::t.

AW_rgb AW_common::get_color ( AW_color_idx  color) const
inline

Definition at line 254 of file aw_common.hxx.

References AW_DATA_BG.

AW_rgb AW_common::get_data_color ( int  i) const
inline

Definition at line 257 of file aw_common.hxx.

int AW_common::find_data_color_idx ( AW_rgb  color) const

Definition at line 469 of file AW_print.cxx.

int AW_common::get_data_color_size ( ) const
inline

Definition at line 259 of file aw_common.hxx.

AW_rgb AW_common::get_XOR_color ( ) const
inline

Definition at line 261 of file aw_common.hxx.

References AW_DATA_BG, and AW_WINDOW_BG.

void AW_common::new_gc ( int  gc)
inline

Definition at line 265 of file aw_common.hxx.

References AW_GC_set::add_gc().

Referenced by AW_stylable::new_gc().

bool AW_common::gc_mapable ( int  gc) const
inline

Definition at line 266 of file aw_common.hxx.

References AW_GC_set::gc_mapable().

Referenced by AW_device::ready_to_draw().

const AW_GC* AW_common::map_gc ( int  gc) const
inline
AW_GC* AW_common::map_mod_gc ( int  gc)
inline
const AW_font_limits& AW_common::get_font_limits ( int  gc,
char  c 
) const
inline

Definition at line 270 of file aw_common.hxx.

References AW_GC::get_font_limits(), and map_gc().

Referenced by AW_stylable::get_font_limits().


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