-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOGLDisp.h
More file actions
63 lines (52 loc) · 1.66 KB
/
OGLDisp.h
File metadata and controls
63 lines (52 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#if !defined(AFX_OGLDISP_H__C726A944_1EB3_437C_9A27_DC1125A823A4__INCLUDED_)
#define AFX_OGLDISP_H__C726A944_1EB3_437C_9A27_DC1125A823A4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OGLDisp.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COGLDisp dialog
class COGLDisp : public CDialog
{
// Construction
public:
void LoadSettings();
void SaveSettings();
void SetAnisoFilter(char *filter = NULL);
void SetFSAA(DWORD new_value);
void UpdateLists();
COGLDisp(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(COGLDisp)
enum { IDD = IDD_OGL };
CSliderCtrl m_anisofilter_slider;
CSliderCtrl m_fsaa_slider;
CComboBox m_res_list;
CComboBox m_texfilter_list;
CComboBox m_cdepth_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COGLDisp)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COGLDisp)
virtual BOOL OnInitDialog();
afx_msg void OnGenCaps();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
afx_msg void OnChangeCDepth();
afx_msg void OnResChange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int GetCDepth(int cdepth);
void UpdateResList(unsigned int requested_wdith = -1, unsigned int requested_height = -1, int requested_cdepth = -1);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OGLDISP_H__C726A944_1EB3_437C_9A27_DC1125A823A4__INCLUDED_)