mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
better dialog
svn path=/trunk/; revision=21240
This commit is contained in:
parent
1a6f0536e2
commit
2dab6641ce
2 changed files with 31 additions and 27 deletions
|
@ -90,28 +90,31 @@ BEGIN
|
|||
END
|
||||
|
||||
|
||||
IDD_IMAGE_PROP DIALOGEX 6,6,194,107
|
||||
IDD_IMAGE_PROP DIALOGEX 6, 5, 156, 163
|
||||
CAPTION "Image Properties"
|
||||
FONT 8,"MS Sans Serif",0,0
|
||||
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
|
||||
BEGIN
|
||||
CONTROL "", IDC_IMAGETYPE, "ComboBox", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 50, 5, 76, 54
|
||||
EDITTEXT IDC_RES_EDIT, 50, 22, 32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
EDITTEXT IDC_WIDTH_EDIT, 50, 38, 32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
EDITTEXT IDC_HEIGHT_EDIT, 50, 55,32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
CONTROL "", IDC_UNIT, "ComboBox", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 50, 72, 54, 50
|
||||
PUSHBUTTON "OK", IDOK, 134, 7, 54, 13
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 134, 27, 54, 13
|
||||
LTEXT "Image type:", IDC_STATIC, 4, 7, 42, 9
|
||||
LTEXT "Resolution:", IDC_STATIC, 4, 24, 42, 9
|
||||
LTEXT "Width:", IDC_STATIC, 4, 40, 42, 9
|
||||
LTEXT "Height:", IDC_STATIC, 4, 57, 42, 9
|
||||
LTEXT "Unit:", IDC_STATIC, 4, 73, 42, 9
|
||||
LTEXT "Image size:", IDC_STATIC, 4, 92, 42, 9
|
||||
LTEXT "", IDC_RES_STAT, 86, 24, 40, 9
|
||||
LTEXT "", IDC_WIDTH_STAT, 86, 40, 40, 9
|
||||
LTEXT "", IDC_HEIGHT_STAT, 86, 57, 40, 9
|
||||
LTEXT "", IDC_MEMORY, 54, 92, 54, 9
|
||||
LTEXT "Name:", IDC_STATIC, 12, 5, 38, 9
|
||||
EDITTEXT IDC_IMAGE_NAME_EDIT, 58, 3, 76, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
GROUPBOX "Canvas properties", IDC_STATIC, 4, 22, 148, 98
|
||||
LTEXT "Image type:", IDC_STATIC, 12, 36, 42, 9
|
||||
CONTROL "", IDC_IMAGETYPE, "ComboBox", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 35, 88, 54
|
||||
LTEXT "Width:", IDC_STATIC, 12, 51, 42, 9
|
||||
EDITTEXT IDC_WIDTH_EDIT, 58, 49, 32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
LTEXT "", IDC_WIDTH_STAT, 94, 51, 40, 9
|
||||
LTEXT "Height:", IDC_STATIC, 12, 68, 42, 9
|
||||
EDITTEXT IDC_HEIGHT_EDIT, 58, 66, 32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
LTEXT "", IDC_HEIGHT_STAT, 94, 68, 40, 9
|
||||
LTEXT "Resolution:", IDC_STATIC, 12, 84, 42, 9
|
||||
EDITTEXT IDC_RES_EDIT, 58, 83, 32, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
||||
LTEXT "", IDC_RES_STAT, 94, 84, 40, 9
|
||||
LTEXT "Unit:", IDC_STATIC, 12, 99, 42, 9
|
||||
CONTROL "", IDC_UNIT, "ComboBox", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 99, 54, 50
|
||||
LTEXT "Image size:", IDC_STATIC, 12, 125, 42, 9
|
||||
LTEXT "", IDC_IMAGE_SIZE, 58, 125, 54, 9
|
||||
PUSHBUTTON "OK", IDOK, 98, 144, 54, 13
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 40, 144, 54, 13
|
||||
END
|
||||
|
||||
|
||||
|
|
|
@ -100,15 +100,16 @@
|
|||
|
||||
/* image property dialog */
|
||||
#define IDD_IMAGE_PROP 4000
|
||||
#define IDC_IMAGETYPE 4001
|
||||
#define IDC_RES_EDIT 4002
|
||||
#define IDC_WIDTH_EDIT 4003
|
||||
#define IDC_HEIGHT_EDIT 4004
|
||||
#define IDC_UNIT 4005
|
||||
#define IDC_RES_STAT 4006
|
||||
#define IDC_WIDTH_STAT 4007
|
||||
#define IDC_HEIGHT_STAT 4008
|
||||
#define IDC_MEMORY 4009
|
||||
#define IDC_IMAGE_NAME_EDIT 4001
|
||||
#define IDC_IMAGETYPE 4003
|
||||
#define IDC_WIDTH_EDIT 4004
|
||||
#define IDC_WIDTH_STAT 4005
|
||||
#define IDC_HEIGHT_EDIT 4006
|
||||
#define IDC_HEIGHT_STAT 4007
|
||||
#define IDC_RES_EDIT 4008
|
||||
#define IDC_RES_STAT 4009
|
||||
#define IDC_UNIT 4010
|
||||
#define IDC_IMAGE_SIZE 4011
|
||||
#define IDS_IMAGE_MONOCHROME 4100
|
||||
#define IDS_IMAGE_GREYSCALE 4101
|
||||
#define IDS_IMAGE_PALETTE 4102
|
||||
|
|
Loading…
Reference in a new issue