ARB
Public Member Functions | List of all members
AW_clicked_box Class Reference

#include <aw_device_click.hxx>

Inheritance diagram for AW_clicked_box:
Inheritance graph
[legend]
Collaboration diagram for AW_clicked_box:
Collaboration graph
[legend]

Public Member Functions

void assign (AW::Rectangle box_, int distance_, const AW_pos &nearest_rel_pos_, const AW_click_cd *click_cd_)
 
bool operator== (const AW_clicked_element &other) const OVERRIDE
 
AW::Position get_attach_point () const OVERRIDE
 
AW::Rectangle get_bounding_box () const OVERRIDE
 
int indicate_selected (AW_device *d, int gc) const OVERRIDE
 
AW_clicked_elementclone () const OVERRIDE
 
- Public Member Functions inherited from AW_clicked_element
virtual ~AW_clicked_element ()
 
AW_CL cd1 () const
 
AW_CL cd2 () const
 
bool does_exist () const
 
bool is_text () const
 
bool is_line () const
 
bool is_box () const
 
bool is_polygon () const
 
double get_rel_pos () const
 
int get_distance () const
 
AW::LineVector get_connecting_line (const AW_clicked_element &other) const
 

Additional Inherited Members

- Protected Member Functions inherited from AW_clicked_element
 AW_clicked_element ()
 
void assign (int distance_, const AW_pos &nearest_rel_pos_, const AW_click_cd *click_cd_)
 

Detailed Description

Definition at line 128 of file aw_device_click.hxx.

Member Function Documentation

void AW_clicked_box::assign ( AW::Rectangle  box_,
int  distance_,
const AW_pos nearest_rel_pos_,
const AW_click_cd click_cd_ 
)
inline

Definition at line 131 of file aw_device_click.hxx.

References AW_clicked_element::assign().

bool AW_clicked_box::operator== ( const AW_clicked_element other) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 136 of file aw_device_click.hxx.

References AW::nearlyEqual().

AW::Position AW_clicked_box::get_attach_point ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 141 of file aw_device_click.hxx.

References AW::LineVector::centroid().

AW::Rectangle AW_clicked_box::get_bounding_box ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 142 of file aw_device_click.hxx.

int AW_clicked_box::indicate_selected ( AW_device d,
int  gc 
) const
virtual

Implements AW_clicked_element.

Definition at line 287 of file AW_device_click.cxx.

References AW_device::box(), and AW::FillStyle::SOLID.

AW_clicked_element* AW_clicked_box::clone ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 144 of file aw_device_click.hxx.


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