app_vobj.C File Reference

#include "gxsm_app.h"
#include "unit.h"
#include "pcs.h"
#include "xsmtypes.h"
#include "action_id.h"
#include "glbvars.h"
#include "app_profile.h"
#include "app_vobj.h"
#include "app_view.h"
#include "clip.h"

Go to the source code of this file.

Defines

#define SETUP_ITEM(X)   gnome_canvas_item_raise_to_top(X)
#define UTF8_DEGREE   "\302\260"
#define MAXHANDLECOLORS   4
#define OBJECT_LINE_WIDTH   xsmres.ObjectLineWidth
#define SQR_HANDLE_SIZE   5
#define SQR_HANDLE_LINE_WIDTH   xsmres.HandleLineWidth
#define TRI_HANDLE_SIZE   15
#define TRI_HANDLE_LINE_WIDTH   xsmres.HandleLineWidth
#define HANDLE_FILL_COLOR   RGBAColor (xsmres.HandleActBgColor)
#define HANDLE_FILL_COLOR_INACTIVE   RGBAColor (xsmres.HandleInActBgColor)
#define LABEL_XOFF   0.
#define LABEL_YOFF   -25.
#define NSEGS   20

Functions

unsigned long RGBAColor (float c[4])
void get_obj_coords_wrapper2 (int i, double &x, double &y)
static void label_changed_cb (GtkEditable *e, gchar **text)

Variables

VObjectcurrent_vobject2 = NULL


Define Documentation

#define HANDLE_FILL_COLOR   RGBAColor (xsmres.HandleActBgColor)
 

Definition at line 55 of file app_vobj.C.

Referenced by VObject::set_color_to_active().

#define HANDLE_FILL_COLOR_INACTIVE   RGBAColor (xsmres.HandleInActBgColor)
 

Definition at line 56 of file app_vobj.C.

Referenced by VObject::set_color_to_hilit(), and VObject::set_color_to_inactive().

#define LABEL_XOFF   0.
 

Definition at line 58 of file app_vobj.C.

Referenced by VObject::VObject().

#define LABEL_YOFF   -25.
 

Definition at line 59 of file app_vobj.C.

Referenced by VObject::VObject().

#define MAXHANDLECOLORS   4
 

Definition at line 47 of file app_vobj.C.

Referenced by VObject::node_marker(), and VObject::set_color_to_active().

#define NSEGS   20
 

Referenced by VObParabel::Update().

#define OBJECT_LINE_WIDTH   xsmres.ObjectLineWidth
 

Definition at line 49 of file app_vobj.C.

Referenced by VObLine::Update(), VObCircle::VObCircle(), VObKsys::VObKsys(), VObLine::VObLine(), VObParabel::VObParabel(), and VObRectangle::VObRectangle().

#define SETUP_ITEM  )     gnome_canvas_item_raise_to_top(X)
 

Definition at line 43 of file app_vobj.C.

Referenced by VObLine::Update(), VObject::VObject(), VObKsys::VObKsys(), VObLine::VObLine(), and VObParabel::VObParabel().

#define SQR_HANDLE_LINE_WIDTH   xsmres.HandleLineWidth
 

Definition at line 51 of file app_vobj.C.

Referenced by VObject::node_marker().

#define SQR_HANDLE_SIZE   5
 

Definition at line 50 of file app_vobj.C.

Referenced by VObject::node_marker().

#define TRI_HANDLE_LINE_WIDTH   xsmres.HandleLineWidth
 

Definition at line 53 of file app_vobj.C.

Referenced by VObject::node_marker().

#define TRI_HANDLE_SIZE   15
 

Definition at line 52 of file app_vobj.C.

Referenced by VObject::node_marker().

#define UTF8_DEGREE   "\302\260"
 

Definition at line 45 of file app_vobj.C.


Function Documentation

void get_obj_coords_wrapper2 int  i,
double &  x,
double &  y
 

Definition at line 308 of file app_vobj.C.

References current_vobject2, and VObject::obj_get_xy_i().

Referenced by VObject::Activate().

static void label_changed_cb GtkEditable *  e,
gchar **  text
[static]
 

Definition at line 330 of file app_vobj.C.

unsigned long RGBAColor float  c[4]  )  [inline]
 

Definition at line 61 of file app_vobj.C.

References WORDS_BIGENDIAN.

Referenced by VObject::show_label().


Variable Documentation

VObject* current_vobject2 = NULL
 

Definition at line 76 of file app_vobj.C.

Referenced by VObject::Activate(), and get_obj_coords_wrapper2().


Generated on Sat Apr 1 09:04:30 2006 for GXSM by  doxygen 1.4.6