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
00010
00011
00013
00014
00016 struct ContTransfProp
00017 {
00019 GLubyte rgba[4];
00021 float lineWidth;
00023 int res;
00024 };
00025
00027 class MyContTransfPropDialog : public CDialog
00028 {
00029
00030 public:
00032 void GetRgb(GLubyte *rgb);
00034 void SetLineWidth(float lineWidth);
00036 float GetLineWidth();
00038 CColorDialog m_ColorDialog;
00039 MyContTransfPropDialog(CWnd* pParent = NULL);
00040
00041
00042
00043 enum { IDD = IDD_CONTTRANSF_PROP_DIALOG };
00044 int m_LineWidth;
00045 int m_Res;
00046 int m_Opacity;
00047
00048
00049
00050
00051
00052
00053 protected:
00054 virtual void DoDataExchange(CDataExchange* pDX);
00055
00056
00057
00058 protected:
00059
00060
00061
00062 virtual BOOL OnInitDialog();
00063 afx_msg void OnColorButton();
00064 afx_msg void OnPaint();
00065
00066 DECLARE_MESSAGE_MAP()
00067 };
00068
00069
00070
00071
00072 #endif // !defined(AFX_MyContTransfPropDialog_H__7DDCF36D_4059_4D9A_86A1_FB8C1D9F8D4F__INCLUDED_)