forked from tcobbs/ldview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJpegOptionsDialog.h
More file actions
31 lines (25 loc) · 799 Bytes
/
JpegOptionsDialog.h
File metadata and controls
31 lines (25 loc) · 799 Bytes
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
#ifndef __JPEGOPTIONSDIALOG_H__
#define __JPEGOPTIONSDIALOG_H__
#include <CUI/CUIDialog.h>
class TCJpegOptions;
class JpegOptionsDialog: public CUIDialog
{
public:
JpegOptionsDialog(HINSTANCE hInstance, HWND hParentWindow);
INT_PTR doModal(HWND hWndParent);
protected:
virtual ~JpegOptionsDialog(void);
virtual void dealloc(void);
virtual BOOL doInitDialog(HWND /*hKbControl*/);
virtual LRESULT doVScroll(int scrollCode, int position, HWND hScrollBar);
virtual LRESULT doHScroll(int scrollCode, int position, HWND hScrollBar);
virtual LRESULT doTextFieldChange(int controlId, HWND control);
virtual void doOK(void);
void setQuality(int value);
TCJpegOptions *options;
HWND hQualityField;
HWND hQualitySpin;
HWND hQualitySlider;
int quality;
};
#endif // __JPEGOPTIONSDIALOG_H__