MapViewer.h
// Copyright 2010 ESRI // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // You may freely redistribute and use this sample code, with or // without modification, provided you include the original copyright // notice and use restrictions. // // See the use restrictions. // #ifndef __ENGINE_CONTROL_MOTIF_EXAMPLE__ #define __ENGINE_CONTROL_MOTIF_EXAMPLE__ #include <stdio.h> #include <gtk/gtk.h> // ArcObjects Headers // Engine #include <ArcSDK.h> // Controls #include <AxCtl/gtkaxctl.h> #include <Ao/AoControls.h> // Events #include "PageLayoutControlEvents.h" #include "TOCControlEvents.h" #include "TransformEvents.h" #include "MapControlEvents.h" #include "CustomizeDialogEvents.h" #include "AddDate.h" void form_setup(int argc, char* argv[]); static void destroy_event(GtkWidget *widget, gpointer data); static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data); void load_data(); void add_toolbar_items(); void add_popup_items(); HRESULT create_overview_symbol(); HRESULT create_customize_dialog(); void toggle_button_callback (GtkWidget *widget, gpointer data); #endif // __ENGINE_CONTROL_MOTIF_EXAMPLE__