Develop and Download Open Source Software

Browse CVS Repository

Contents of /enbanfukusyaya/EnbanFukusyaYa/Win32/ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download) (as text)
Fri Nov 5 17:24:03 2010 UTC (13 years, 5 months ago) by bananajinn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +58 -52 lines
File MIME type: text/x-chdr
*** empty log message ***

1 /**
2 * @file ui.h
3 * @brief ユーザーインターフェース
4 * @author BananaJinn
5 * @version $Id: ui.h,v 1.5 2010/11/01 14:34:11 bananajinn Exp $
6 * 円盤複写屋
7 * Copyright (C) 2004-2010 BananaJinn<banana@mxh.mesh.ne.jp>
8 */
9 #ifndef __UI_H__
10 #define __UI_H__
11
12 #include <windows.h>
13 #include "option.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define WM_USER_UICTL (WM_USER+1)
20 #define UICTL_METER1INIT 0
21 #define UICTL_METER2INIT 1
22 #define UICTL_METER1SETPOS 2
23 #define UICTL_METER2SETPOS 3
24 #define UICTL_SETTING 4
25 #define UICTL_DISPINFO 5
26 #define UICTL_GETARGREADER 6
27 #define UICTL_GETARGWRITER 7
28
29 extern void UISetHWND(HWND hWnd);
30 extern BOOL UICheckAbort();
31 extern void UISetAbort();
32 extern void UIClearAbort();
33 extern int UIDispMessage(const char *message, int type);
34 extern int UIFileDialog(BOOL bOpen, char *filename, int size, const char *suffix);
35 extern int UIFolderDialog(char *filename, int size);
36 extern int UINetDialog(BOOL bServer, char *remote, int size, int *port_number);
37
38 /* type value */
39 #define UIDMT_INFORMATION 0
40 #define UIDMT_ERROR 1
41 #define UIDMT_QUESTION 2
42 /* return value */
43 #define UIDMRET_OK 0
44 #define UIDMRET_CANCEL 1
45
46 extern void UIMeter1Initialize(const char *message);
47 extern void UIMeter2Initialize(const char *message);
48 extern void UIMeter1Update(float percentage);
49 extern void UIMeter2Update(float percentage);
50 extern void UIDispInfo(const char *message);
51
52 extern int UISetting(OPTIONS *option);
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58 #endif /* !__EVENT_H__ */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26