map_widget_internal

map_widget_internal

Functions

Types and Values

Description

Functions

MAP_WIDGET_DEBUG()

#define             MAP_WIDGET_DEBUG( a ...)

v_extract_model_to_add_view_points ()

void
v_extract_model_to_add_view_points (MapWidget *pSelf);

b_map_widget_map_selected_clb ()

gboolean
b_map_widget_map_selected_clb (ClutterActor *pActor,
                               ClutterButtonEvent *pEvent,
                               gpointer pUserData);

b_map_widget_map_selected_touch_clb ()

gboolean
b_map_widget_map_selected_touch_clb (ClutterActor *pActor,
                                     ClutterButtonEvent *pEvent,
                                     gpointer pUserData);

map_widget_go_to_location ()

void
map_widget_go_to_location (ClutterActor *actor,
                           gfloat flLatitude,
                           gfloat flLongitude);

p_map_widget_get_map ()

ClutterActor *
p_map_widget_get_map (MapWidget *pSelf);

p_map_widget_get_bkground ()

ClutterActor *
p_map_widget_get_bkground (MapWidget *pSelf);

v_map_widget_set_location ()

void
v_map_widget_set_location (MapWidget *pSelf,
                           gfloat latitude,
                           gfloat longitude);

p_map_widget_get_model ()

ThornburyModel *
p_map_widget_get_model (MapWidget *pSelf);

p_map_widget_get_layer_actor ()

ClutterActor *
p_map_widget_get_layer_actor (MapWidget *pSelf);

b_map_widget_marker_selected_cb ()

gboolean
b_map_widget_marker_selected_cb (ClutterActor *pActor,
                                 ClutterButtonEvent *pEvent,
                                 gpointer pUserData);

b_map_widget_marker_selected_touch_cb ()

gboolean
b_map_widget_marker_selected_touch_cb (ClutterActor *pActor,
                                       ClutterButtonEvent *pEvent,
                                       gpointer pUserData);

b_map_widget_path_marker_selected_cb ()

gboolean
b_map_widget_path_marker_selected_cb (ClutterActor *pActor,
                                      ClutterButtonEvent *pEvent,
                                      gpointer pUserData);

b_map_widget_path_marker_selected_touch_cb ()

gboolean
b_map_widget_path_marker_selected_touch_cb
                               (ClutterActor *pActor,
                                ClutterButtonEvent *pEvent,
                                gpointer pUserData);

p_map_widget_get_markers_list ()

GPtrArray *
p_map_widget_get_markers_list (MapWidget *pSelf);

p_map_widget_get_image_list ()

GPtrArray *
p_map_widget_get_image_list (MapWidget *pSelf);

v_map_widget_move_to_location ()

void
v_map_widget_move_to_location (MapWidget *pSelf,
                               gfloat latitude,
                               gfloat longitude,
                               gint numsteps);

p_map_widget_return_normal_colour ()

ClutterColor *
p_map_widget_return_normal_colour (MapWidget *pSelf);

p_map_widget_return_selected_colour ()

ClutterColor *
p_map_widget_return_selected_colour (MapWidget *pSelf);

p_map_widget_get_path_layer_actor ()

ClutterActor *
p_map_widget_get_path_layer_actor (MapWidget *pSelf);

p_map_widget_return_path_colour ()

ClutterColor *
p_map_widget_return_path_colour (MapWidget *pSelf);

v_map_widget_draw_path ()

void
v_map_widget_draw_path (MapWidget *pSelf,
                        ClutterActor *pLayer,
                        gfloat width);

p_map_widget_get_private_hash ()

GHashTable *
p_map_widget_get_private_hash (MapWidget *pSelf);

p_map_widget_get_path_image_list ()

GPtrArray *
p_map_widget_get_path_image_list (MapWidget *pSelf);

p_map_widget_get_path_markers_list ()

GPtrArray *
p_map_widget_get_path_markers_list (MapWidget *pSelf);

Types and Values

MAP_WIDGET_MAX_NEAR_DISTANCE

#define MAP_WIDGET_MAX_NEAR_DISTANCE 150  // 0- 100 pixels near tap

MAP_WIDGET_MAX_FAR_DISTANCE

#define MAP_WIDGET_MAX_FAR_DISTANCE 700   // 100-700 pixels far tap

MAP_WIDGET_MAX_TIME_FOR_SECOND_TAP

#define MAP_WIDGET_MAX_TIME_FOR_SECOND_TAP 2000 // 2 secs.

struct Imagedata

struct Imagedata {
    gchar *normalImage;
    gchar *selectedImage;
};

MapWidgetPrivate

typedef struct {
    gfloat longitude;
    gfloat latitude;
    gint zoom_level;
    gint width;
    gint height;
    gint current_type_counter;
    gint coumn_changed;
    gint highlight_marker_counter;
    gint path_highlight_marker_counter;
    gint selectedMarkerIndex;
    gint selectedPathMarkerIndex;
    gboolean poi_touch_event;
    gboolean path_touch_event;
    gint touchendpoints;
    /*gint animation;*/
    gint mapState;
    gboolean bEnableMove;
    ClutterActor *content_map;
    ClutterActor *content_bkground;
    ClutterActor *content_group;
    ThornburyModel *pModel;

    ClutterActor *pLayerActor;
    ClutterActor *prevMarker;
    ClutterActor *prevPathMarker;
    ClutterActor *pPathLayerActor;
    ClutterActor *pPosDestinationLayer;
    GPtrArray *glMarkerslist;
    GPtrArray *glImagelist;
    GPtrArray *pPathMarkerslist;
    GPtrArray *pPathImagelist;
    GHashTable *pStyleHash;
    GHashTable *pPrivHash;
} MapWidgetPrivate;

enum MapWidgetFlag

Members

MAP_WIDGET_DEBUG

   

MAP_WIDGET_HAS_DEBUG

#define MAP_WIDGET_HAS_DEBUG               ((map_widget_debug_flags ) & 1)

map_widget_debug_flags

extern guint map_widget_debug_flags;