00001 /** 00002 * gre/uivector - GRE User Interface definitions for Vector layer 00003 * 00004 * \if NODOC 00005 * $Id: uivector.h_v 1.5 2003/12/15 21:51:18 mju Exp $ 00006 * 00007 * $Log: uivector.h_v $ 00008 * Revision 1.5 2003/12/15 21:51:18 mju 00009 * Use dlgshell. 00010 * 00011 * Revision 1.4 2003/09/15 13:48:59 fileserver!dwilliss 00012 * Doxygen 00013 * 00014 * Revision 1.3 2003/07/30 15:44:35 mju 00015 * Ignore private section. 00016 * 00017 * Revision 1.2 2003/05/28 16:38:37 scowan 00018 * Removed definition of getobjfilter, replaced by geometric::isdisplayable. 00019 * 00020 * Revision 1.1 2002/09/19 17:09:36 mju 00021 * Initial revision 00022 * 00023 * \endif 00024 **/ 00025 00026 #ifndef INC_GRE_UIVECTOR_H 00027 #define INC_GRE_UIVECTOR_H 00028 00029 #ifndef INC_GRE_LRVECTOR_H 00030 #include <gre/lrvector.h> 00031 #endif 00032 00033 #ifndef INC_MGUI_DLGSHELL_H 00034 #include <mgui/dlgshell.h> 00035 #endif 00036 00037 //=================================================================================================================== 00038 //! Dialog for modifying vector layer display settings. 00039 class GRE_LAYER_VECTOR::DISPPARM::DLG : public MGUI::DLGSHELL { 00040 public: 00041 00042 //! Constructor. 00043 DLG ( 00044 LAYERFLAGS LayerFlags, //!< Layer flags for control enabling 00045 double CurMapScale, //!< Map Scale for 'Current' button on style editor 00046 bool Include3D //!< Include 3D settings 00047 ); 00048 00049 //! Destructor. 00050 virtual ~DLG ( 00051 ); 00052 00053 //! Get 'mask' for which LAYERDRAWFLAG values are settable on dialog. 00054 LAYERDRAWFLAGS GetLayerDrawFlagMask ( 00055 ) const { return (LAYERDRAWFLAG_EditInTNTserver); } 00056 00057 //! Get current LAYERDRAWFLAGS settings. 00058 LAYERDRAWFLAGS GetLayerDrawFlags ( 00059 ) const; 00060 00061 //! Get current DISPPARM values. 00062 const GRE_LAYER_VECTOR::DISPPARM& GetValues ( 00063 ) const; 00064 00065 //! Set DISPPARM and LAYERDRAWFLAGS values. 00066 ERRVALUE SetValues ( 00067 const GRE_LAYER_VECTOR::DISPPARM& values, 00068 LAYERDRAWFLAGS LayerDrawFlags 00069 ); 00070 00071 private: 00072 #ifndef GENERATING_DOXYGEN_OUTPUT 00073 class PRIV; 00074 PRIV *m_pPriv; 00075 00076 virtual ERRVALUE v_CreateContent (); 00077 virtual void v_OnOpen (); 00078 00079 friend class GRE_LAYER_VECTOR::DISPPARM::DLG::PRIV; 00080 #endif // GENERATING_DOXYGEN_OUTPUT 00081 }; 00082 00083 00084 //=================================================================================================================== 00085 00086 #endif //!< INC_GRE_UIVECTOR_H
1.3.4-20031026