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

#include <aw_device_click.hxx>

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

Public Member Functions

void assign (const AW::LineVector &line_, 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
 
const AW::LineVectorget_line () const
 
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 84 of file aw_device_click.hxx.

Member Function Documentation

void AW_clicked_line::assign ( const AW::LineVector line_,
int  distance_,
const AW_pos nearest_rel_pos_,
const AW_click_cd click_cd_ 
)
inline

Definition at line 87 of file aw_device_click.hxx.

References AW_clicked_element::assign().

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

Implements AW_clicked_element.

Definition at line 92 of file aw_device_click.hxx.

References get_line(), and AW::nearlyEqual().

AW::Position AW_clicked_line::get_attach_point ( ) const
inlinevirtual
AW::Rectangle AW_clicked_line::get_bounding_box ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 101 of file aw_device_click.hxx.

const AW::LineVector& AW_clicked_line::get_line ( ) const
inline

Definition at line 102 of file aw_device_click.hxx.

Referenced by AWT_graphic_tree::handle_command(), and operator==().

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

Implements AW_clicked_element.

Definition at line 281 of file AW_device_click.cxx.

References AW_device::line().

AW_clicked_element* AW_clicked_line::clone ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 105 of file aw_device_click.hxx.


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