Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
position_event_rep Struct Reference

#include <basic_event.hpp>

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

List of all members.

Public Member Functions

 position_event_rep ()
 position_event_rep (SI ox, SI oy, SI w, SI h, gravity grav)
 operator tree ()

Public Attributes

bool flag
SI ox
SI oy
SI w
SI h
gravity grav
int type
int ref_count

Detailed Description

Definition at line 54 of file basic_event.hpp.


Constructor & Destructor Documentation

position_event_rep::position_event_rep ( SI  ox,
SI  oy,
SI  w,
SI  h,
gravity  grav 
)

Definition at line 55 of file basic_event.cpp.

                                                                            :
  event_rep (POSITION_EVENT), flag (false),
  ox (a), oy (b), w (c), h (d), grav (grav2) {}

Member Function Documentation

position_event_rep::operator tree ( ) [virtual]

Implements event_rep.

Definition at line 58 of file basic_event.cpp.

                                   {
  if (flag) return "reposition";
  return tree (TUPLE, "position_event", as_tree (grav),
              tree (TUPLE, as_string (ox/PIXEL), as_string (oy/PIXEL)),
              tree (TUPLE, as_string (w /PIXEL), as_string (h /PIXEL))); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 55 of file basic_event.hpp.

Definition at line 55 of file basic_event.hpp.

Definition at line 55 of file basic_event.hpp.

Definition at line 55 of file basic_event.hpp.

Definition at line 55 of file basic_event.hpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

int event_rep::type [inherited]

Reimplemented in mouse_event_rep.

Definition at line 33 of file event.hpp.

Definition at line 55 of file basic_event.hpp.


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