LabelEdit.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 __LABELEDIT_H_SAMPLE__ #define __LABELEDIT_H_SAMPLE__ #include <iostream> // Motif Headers #define String esriXString #define Time esriXTime #define Cursor esriXCursor #define Object esriXObject #define ObjectClass esriXObjectClass #include <Xm/Xm.h> #include <Xm/MainW.h> #include <Xm/Form.h> #include <Xm/Protocols.h> #include <Xm/ToggleB.h> #include <Xm/Notebook.h> #include <Xm/PushB.h> #include <Xm/SpinB.h> #include <Xm/MessageB.h> #include <Xm/FileSB.h> #include <Xm/Label.h> #include <Xm/ToggleBG.h> #include <Xm/RowColumn.h> #undef String #undef Time #undef Cursor #undef Object #undef ObjectClass // ArcObjects Headers // Engine #include <ArcSDK.h> // Controls #include <Ao/AoMotifControls.h> #include "TOCControlEvents.h" extern "C" void XtResizeWidget(Widget, _XtDimension, _XtDimension, _XtDimension); void CloseAppCallback(Widget w, XtPointer client_data, XtPointer call_data); void LoadClick(Widget w, XtPointer client_data, XtPointer call_data); void ShowMessage(char *dialogtitle, char *text); void FileSelected(Widget w, XtPointer client_data, XtPointer call_data); void ToggledEdit(Widget w, XtPointer client_data, XtPointer call_data); #endif // __LABELEDIT_H_SAMPLE__