navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
element Struct Reference

#include <layout.h>

Public Types

enum  {
  element_point, element_polyline, element_polygon, element_circle,
  element_text, element_icon, element_image, element_arrows
}
 

Data Fields

enum element:: { ... }  type
 
struct color color
 
int text_size
 
union {
   struct element_point {
      char   stub
 
   }   point
 
   struct element_polyline {
      int   width
 
      int   directed
 
      int   dash_num
 
      int   offset
 
      unsigned char   dash_table [4]
 
   }   polyline
 
   struct element_polygon {
      char   stub
 
   }   polygon
 
   struct element_circle {
      int   width
 
      int   radius
 
      struct color   background_color
 
   }   circle
 
   struct element_icon {
      char *   src
 
      int   width
 
      int   height
 
      int   rotation
 
      int   x
 
      int   y
 
   }   icon
 
   struct element_text {
      struct color   background_color
 
   }   text
 
u
 
int coord_count
 
struct coordcoord
 

Detailed Description

Navit, a modular navigation system. Copyright (C) 2005-2009 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Member Enumeration Documentation

anonymous enum
Enumerator
element_point 
element_polyline 
element_polygon 
element_circle 
element_text 
element_icon 
element_image 
element_arrows 

Field Documentation

struct color element::background_color
struct color element::color
struct coord* element::coord
int element::coord_count
int element::dash_num
unsigned char element::dash_table[4]
int element::directed
int element::height
struct { ... } ::element_icon element::icon
int element::offset
struct { ... } ::element_point element::point
struct { ... } ::element_polygon element::polygon

Referenced by polygon_new().

int element::radius
int element::rotation
char* element::src

Referenced by get_icon(), and gui_internal_poi_icon().

char element::stub
struct { ... } ::element_text element::text

Referenced by displayitem_draw(), and text_new().

int element::text_size
int element::width
int element::x
int element::y

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