Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyContTransfPropDialog.h

00001 #if !defined(AFX_MyContTransfPropDialog_H__7DDCF36D_4059_4D9A_86A1_FB8C1D9F8D4F__INCLUDED_)
00002 #define AFX_MyContTransfPropDialog_H__7DDCF36D_4059_4D9A_86A1_FB8C1D9F8D4F__INCLUDED_
00003 
00004 #include "gl/gl.h"
00005 
00006 #if _MSC_VER > 1000
00007 #pragma once
00008 #endif // _MSC_VER > 1000
00009 // MyContTransfPropDialog.h : header file
00010 //
00011 
00013 // MyContTransfPropDialog dialog
00014 
00016 struct ContTransfProp
00017 { 
00019         GLubyte rgba[4];
00021         float lineWidth;
00023         int res;
00024 };
00025 
00027 class MyContTransfPropDialog : public CDialog
00028 {
00029 // Construction
00030 public:
00032         void GetRgb(GLubyte *rgb);
00034         void SetLineWidth(float lineWidth);
00036         float GetLineWidth();
00038         CColorDialog m_ColorDialog;
00039         MyContTransfPropDialog(CWnd* pParent = NULL);   // standard constructor
00040 
00041 // Dialog Data
00042         //{{AFX_DATA(MyContTransfPropDialog)
00043         enum { IDD = IDD_CONTTRANSF_PROP_DIALOG };
00044         int             m_LineWidth;
00045         int             m_Res;
00046         int             m_Opacity;
00047         //}}AFX_DATA
00048 
00049 
00050 // Overrides
00051         // ClassWizard generated virtual function overrides
00052         //{{AFX_VIRTUAL(MyContTransfPropDialog)
00053         protected:
00054         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00055         //}}AFX_VIRTUAL
00056 
00057 // Implementation
00058 protected:
00059 
00060         // Generated message map functions
00061         //{{AFX_MSG(MyContTransfPropDialog)
00062         virtual BOOL OnInitDialog();
00063         afx_msg void OnColorButton();
00064         afx_msg void OnPaint();
00065         //}}AFX_MSG
00066         DECLARE_MESSAGE_MAP()
00067 };
00068 
00069 //{{AFX_INSERT_LOCATION}}
00070 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00071 
00072 #endif // !defined(AFX_MyContTransfPropDialog_H__7DDCF36D_4059_4D9A_86A1_FB8C1D9F8D4F__INCLUDED_)

Generated on Fri Aug 9 10:12:39 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002