Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

gtkfmaps.h File Reference

#include <gdk/gdk.h>
#include <gtk/gtkadjustment.h>
#include <gtk/gtkwidget.h>
#include <gtkgl/gtkglarea.h>
#include <GL/gl.h>
#include "libpq-fe.h"

Go to the source code of this file.

Compounds

struct  _GtkFMaps
struct  _GtkFMapsClass
struct  _GtkFMapsProjDatum
struct  _GtkFMapsTable
struct  _GtkFMapsTableList
struct  _LinearRing
struct  _Point
struct  _WKBGeometry
struct  _WKBGeometryCollection
struct  _WKBLineString
struct  _WKBMultiLineString
struct  _WKBMultiPoint
struct  _WKBMultiPolygon
struct  _WKBPoint
struct  _WKBPolygon

Defines

#define GTK_TYPE_FMAPS   (gtk_fmaps_get_type())
#define GTK_FMAPS(obj)    GTK_CHECK_CAST (obj, GTK_TYPE_FMAPS, GtkFMaps)
#define GTK_FMAPS_CLASS(klass)    GTK_CHECK_CLASS_CAST (klass, GTK_TYPE_FMAPS, GtkFMapsClass)
#define GTK_IS_FMAPS(obj)    GTK_CHECK_TYPE (obj, GTK_TYPE_FMAPS)
#define GTK_IS_FMAPS_CLASS(klass)    GTK_CHECK_CLASS_TYPE ((klass),GTK_TYPE_FMAPS)
#define ACTION_NONE   0
#define ACTION_ZOOM   1
#define FM_POINT   0
#define FM_PLINE   1

Typedefs

typedef struct _GtkFMaps GtkFMaps
typedef struct _GtkFMapsClass GtkFMapsClass
typedef struct _GtkFMapsTable GtkFMapsTable
typedef struct _GtkFMapsTableList GtkFMapsTableList
typedef struct _GtkFMapsProjDatum GtkFMapsProjDatum
typedef struct _Point Point
typedef struct _LinearRing LinearRing
typedef struct _WKBPoint WKBPoint
typedef struct _WKBLineString WKBLineString
typedef struct _WKBPolygon WKBPolygon
typedef struct _WKBMultiPoint WKBMultiPoint
typedef struct _WKBMultiLineString WKBMultiLineString
typedef struct _WKBMultiPolygon WKBMultiPolygon
typedef struct _WKBGeometry WKBGeometry
typedef struct _WKBGeometryCollection WKBGeometryCollection

Enumerations

enum  GtkFMapsDatumType {
  DAT_NONE = 0,
  DAT_MOLENDENSKY = 1,
  DAT_BURSA_WOLFE = 2
}
enum  GtkFMapsUnitType {
  UNIT_DEGREE = 0,
  UNIT_M = 1,
  UNIT_CM = 2,
  UNIT_CHAINS = 3,
  UNIT_FEET = 4,
  UNIT_INCHES = 5,
  UNIT_KM = 6,
  UNIT_LINKS = 7,
  UNIT_MILES = 8,
  UNIT_MM = 9,
  UNIT_NAUTICALMILES = 10,
  UNIT_RODS = 11,
  UNIT_USSURVEYFEET = 12,
  UNIT_YARDS = 13,
  UNIT_FATHOM = 14
}
enum  GtkFMapsProjectionType {
  PROJ_NONE = 0,
  PROJ_LONLAT = 1,
  PROJ_MERCATOR = 2
}
enum  wkbGeometryType {
  POINT = 1,
  LINESTRING = 2,
  POLYGON = 3,
  MULTIPOINT = 4,
  MULTILINESTRING = 5,
  MULTIPOLYGON = 6,
  GEOMETRYCOLLECTION = 7
}
enum  wkbByteOrder {
  XDR = 0,
  NDR = 1
}

Functions

GtkWidget* gtk_fmaps_new (GtkAdjustment *adjustment, PGconn *conn)
guint gtk_fmaps_get_type (void)
GtkAdjustment* gtk_fmaps_get_adjustment (GtkFMaps *fmaps)
void gtk_fmaps_set_adjustment (GtkFMaps *fmaps, GtkAdjustment *adjustment)
void gtk_fmaps_add_table (GtkFMaps *fmaps, gchar *name, gboolean visible)


Define Documentation

#define ACTION_NONE   0
 

Definition at line 31 of file gtkfmaps.h.

#define ACTION_ZOOM   1
 

Definition at line 32 of file gtkfmaps.h.

#define FM_PLINE   1
 

Definition at line 35 of file gtkfmaps.h.

#define FM_POINT   0
 

Definition at line 34 of file gtkfmaps.h.

#define GTK_FMAPS( obj )   GTK_CHECK_CAST (obj, GTK_TYPE_FMAPS, GtkFMaps)
 

Definition at line 25 of file gtkfmaps.h.

Referenced by gtk_fmaps_new(), and on_zoom_clicked().

#define GTK_FMAPS_CLASS( klass )   GTK_CHECK_CLASS_CAST (klass, GTK_TYPE_FMAPS, GtkFMapsClass)
 

Definition at line 26 of file gtkfmaps.h.

#define GTK_IS_FMAPS( obj )   GTK_CHECK_TYPE (obj, GTK_TYPE_FMAPS)
 

Definition at line 27 of file gtkfmaps.h.

#define GTK_IS_FMAPS_CLASS( klass )   GTK_CHECK_CLASS_TYPE ((klass),GTK_TYPE_FMAPS)
 

Definition at line 28 of file gtkfmaps.h.

#define GTK_TYPE_FMAPS   (gtk_fmaps_get_type())
 

Definition at line 24 of file gtkfmaps.h.


Typedef Documentation

typedef struct _GtkFMaps GtkFMaps
 

Definition at line 100 of file gtkfmaps.h.

typedef struct _GtkFMapsClass GtkFMapsClass
 

Definition at line 101 of file gtkfmaps.h.

typedef struct _GtkFMapsProjDatum GtkFMapsProjDatum
 

Definition at line 104 of file gtkfmaps.h.

typedef struct _GtkFMapsTable GtkFMapsTable
 

Definition at line 102 of file gtkfmaps.h.

typedef struct _GtkFMapsTableList GtkFMapsTableList
 

Definition at line 103 of file gtkfmaps.h.

typedef struct _LinearRing LinearRing
 

Definition at line 199 of file gtkfmaps.h.

typedef struct _Point Point
 

Definition at line 198 of file gtkfmaps.h.

typedef struct _WKBGeometry WKBGeometry
 

Definition at line 206 of file gtkfmaps.h.

typedef struct _WKBGeometryCollection WKBGeometryCollection
 

Definition at line 207 of file gtkfmaps.h.

typedef struct _WKBLineString WKBLineString
 

Definition at line 201 of file gtkfmaps.h.

typedef struct _WKBMultiLineString WKBMultiLineString
 

Definition at line 204 of file gtkfmaps.h.

typedef struct _WKBMultiPoint WKBMultiPoint
 

Definition at line 203 of file gtkfmaps.h.

typedef struct _WKBMultiPolygon WKBMultiPolygon
 

Definition at line 205 of file gtkfmaps.h.

typedef struct _WKBPoint WKBPoint
 

Definition at line 200 of file gtkfmaps.h.

typedef struct _WKBPolygon WKBPolygon
 

Definition at line 202 of file gtkfmaps.h.


Enumeration Type Documentation

enum GtkFMapsDatumType
 

Enumeration values:
DAT_NONE  
DAT_MOLENDENSKY  
DAT_BURSA_WOLFE  

Definition at line 39 of file gtkfmaps.h.

enum GtkFMapsProjectionType
 

Enumeration values:
PROJ_NONE  
PROJ_LONLAT  
PROJ_MERCATOR  

Definition at line 69 of file gtkfmaps.h.

enum GtkFMapsUnitType
 

Enumeration values:
UNIT_DEGREE  
UNIT_M  
UNIT_CM  
UNIT_CHAINS  
UNIT_FEET  
UNIT_INCHES  
UNIT_KM  
UNIT_LINKS  
UNIT_MILES  
UNIT_MM  
UNIT_NAUTICALMILES  
UNIT_RODS  
UNIT_USSURVEYFEET  
UNIT_YARDS  
UNIT_FATHOM  

Definition at line 48 of file gtkfmaps.h.

enum wkbByteOrder
 

Enumeration values:
XDR  
NDR  

Definition at line 234 of file gtkfmaps.h.

enum wkbGeometryType
 

Enumeration values:
POINT  
LINESTRING  
POLYGON  
MULTIPOINT  
MULTILINESTRING  
MULTIPOLYGON  
GEOMETRYCOLLECTION  

Definition at line 223 of file gtkfmaps.h.


Function Documentation

void gtk_fmaps_add_table ( GtkFMaps * fmaps,
gchar * name,
gboolean visible )
 

Definition at line 470 of file gtkfmaps.c.

Referenced by on_Map_clicked().

GtkAdjustment * gtk_fmaps_get_adjustment ( GtkFMaps * fmaps )
 

Definition at line 215 of file gtkfmaps.c.

guint gtk_fmaps_get_type ( void )
 

Definition at line 59 of file gtkfmaps.c.

GtkWidget * gtk_fmaps_new ( GtkAdjustment * adjustment,
PGconn * conn )
 

Definition at line 132 of file gtkfmaps.c.

Referenced by create_gtk_fmaps().

void gtk_fmaps_set_adjustment ( GtkFMaps * fmaps,
GtkAdjustment * adjustment )
 

Definition at line 224 of file gtkfmaps.c.

Referenced by gtk_fmaps_new().


Generated at Sat Jan 6 20:55:35 2001 for FMaps by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000