mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 14:58:26 -04:00
[ui] added FS selection and tooltip
This commit is contained in:
parent
4f3ebdf92c
commit
f661e5c585
4 changed files with 42 additions and 12 deletions
11
rufus.h
11
rufus.h
|
@ -27,6 +27,7 @@
|
|||
#define MAX_DRIVES 16
|
||||
#define MAX_TOOLTIPS 16
|
||||
#define PROPOSEDLABEL_TOLERANCE 0.10
|
||||
#define FS_DEFAULT FS_FAT32
|
||||
#define WHITE RGB(255,255,255)
|
||||
#define SEPARATOR_GREY RGB(223,223,223)
|
||||
#define RUFUS_URL "https://github.com/pbatard/rufus/wiki/Rufus"
|
||||
|
@ -73,7 +74,7 @@ extern char *WindowsErrorString(void);
|
|||
extern void CenterDialog(HWND hDlg);
|
||||
extern void CreateStatusBar(void);
|
||||
extern INT_PTR CreateAboutBox(void);
|
||||
extern HWND CreateTooltip(HWND hControl, char* message, int duration);
|
||||
extern HWND CreateTooltip(HWND hControl, const char* message, int duration);
|
||||
extern void DestroyTooltip(HWND hWnd);
|
||||
extern void DestroyAllTooltips(void);
|
||||
extern void Notification(int type, char* text, char* title);
|
||||
|
@ -104,6 +105,14 @@ enum MessageType {
|
|||
MSG_ERROR
|
||||
};
|
||||
|
||||
/* File system indexes in our FS combobox */
|
||||
enum FSType {
|
||||
FS_FAT16 = 0,
|
||||
FS_FAT32,
|
||||
FS_NTFS,
|
||||
FS_MAX
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
DWORD DeviceType;
|
||||
ULONG DeviceNumber;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue