mirror of
https://github.com/aaronsgiles/JPEGView.git
synced 2024-06-06 21:29:27 +00:00
1 line
27 KiB
R
1 line
27 KiB
R
|
/*********************************************************/
/* This source code copyright (c) 1991-2001, Aaron Giles */
/* See the Read Me file for licensing information. */
/* Contact email: mac@aarongiles.com */
/*********************************************************/
#define SystemSevenOrLater 1
#include "SysTypes.r"
#include "Types.r"
#include "BalloonTypes.r"
#include "JPEGView.r.h"
#define dialogHelpOffset 1000
/***********************************************************************/
/************************ *************************/
/************************ Open Dialog *************************/
/************************ *************************/
/***********************************************************************/
resource 'DLOG' (rOpenDialog, preload)
{
{ 0, 0, 208, 447 },
dBoxProc, invisible, noGoAway, kOpenDialogID, rOpenDialog, "",
noAutoCenter
};
resource 'dctb' (rOpenDialog, preload)
{
{ }, { }
};
resource 'DITL' (rOpenDialog, preload)
{
{
{ 135, 355, 155, 435 },
Button { enabled, "Open" },
{ 104, 355, 124, 435 },
Button { enabled, "Cancel" },
{ 0, 0, 0, 0 },
HelpItem { disabled, HMScanhdlg { -6042 } },
{ 8, 340, 24, 442 },
UserItem { enabled },
{ 32, 355, 52, 435 },
Button { enabled, "Eject" },
{ 60, 355, 80, 435 },
Button { enabled, "Desktop" },
{ 29, 118, 159, 336 },
UserItem { enabled },
{ 6, 118, 25, 336 },
UserItem { enabled },
{ 91, 354, 92, 436 },
Picture { disabled, 11 },
{ 1043, 122, 1144, 218 },
StaticText { disabled, "" },
{ 39, 5, 139, 105 },
UserItem { enabled },
{ 18, 27, 34, 84 },
StaticText { disabled, "Preview" },
{ 29, 110, 174, 111 },
UserItem { disabled },
{ 143, 15, 163, 95 },
Button { enabled, "Create" },
{ 161, 118, 181, 234 },
CheckBox { enabled, "Show Preview" },
{ 184, 118, 204, 336 },
Button { enabled, "Scan for Image Files" },
{ 0, 0, 0, 0 },
HelpItem { disabled, HMScanhdlg { rOpenDialog } }
}
};
/***********************************************************************/
/************************ *************************/
/************************ Small Open Dialog *************************/
/************************ *************************/
/***********************************************************************/
resource 'DLOG' (rOpenDialogNoQT, preload)
{
{ 0, 0, 188, 344 },
dBoxProc, invisible, noGoAway, kOpenDialogID, rOpenDialogNoQT, "",
noAutoCenter
};
resource 'dctb' (rOpenDialogNoQT, preload)
{
{ }, { }
};
resource 'DITL' (rOpenDialogNoQT, preload)
{
{
{ 135, 252, 155, 332 },
Button { enabled, "Open" },
{ 104, 252, 124, 332 },
Button { enabled, "Cancel" },
{ 0, 0, 0, 0 },
HelpItem { disabled, HMScanhdlg { -6042 } },
{ 8, 235, 24, 337 },
UserItem { enabled },
{ 32, 252, 52, 332 },
Button { enabled, "Eject" },
{ 60, 252, 80, 332 },
Button { enabled, "Desktop" },
{ 29, 12, 159, 230 },
UserItem { enabled },
{ 6, 12, 25, 230 },
UserItem { enabled },
{ 91, 251, 92, 333 },
Picture { disabled, 11 },
{ 1043, 122, 1144, 218 },
StaticText { disabled, "" },
{ 1039, 5, 1139, 105 },
UserItem { disabled },
{ 1018, 27, 1034, 84 },
StaticText { disabled, "Preview" },
{ 1029, 110, 1174, 111 },
UserItem { disabled },
{ 1143, 15, 1163, 95 },
Button { disabled, "Create" },
{ 1161, 118, 1181, 234 },
CheckBox { disabled, "Show Preview" },
{ 164, 15, 184, 233 },
Button { enabled, "Scan for Image Files" },
{ 0, 0, 0, 0 },
HelpItem { disabled, HMScanhdlg { rOpenDialog } }
}
};
/***********************************************************************/
/************************ *************************/
/************************ Save Dialog *************************/
/************************ *************************/
/***********************************************************************/
resource 'DLOG' (rSaveDialog
|