This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "pdof.h"
FORM ID PDoFForm AT (1 1 158 158)
FRAME
MODAL
NOSAVEBEHIND
HELPID 1
BEGIN
TITLE "PDoF"
LABEL "Enter focal length (mm): " ID PDoFLabel1 AT (5 32)
FIELD ID PDoFField1 AT (5 PREVBOTTOM+2 100 AUTO) EDITABLE UNDERLINED MAXCHARS 10
LABEL "Enter aperture: " ID PDoFLabel2 AT (5 PREVBOTTOM+2)
FIELD ID PDoFField2 AT (5 PREVBOTTOM+2 100 AUTO) EDITABLE UNDERLINED MAXCHARS 10
LABEL "Enter distance (m): " ID PDoFLabel3 AT (5 PREVBOTTOM+2)
FIELD ID PDoFField3 AT (5 PREVBOTTOM+2 100 AUTO) EDITABLE UNDERLINED MAXCHARS 10
LABEL "Film size: " ID PDoFLabel4 AT (5 PREVBOTTOM+2)
POPUPTRIGGER "" PDoFTrigger1 AT (PREVRIGHT+2 PREVTOP 60 AUTO) LEFTANCHOR
LIST "35mm" "6x6cm" "4x5in" ID PDoFList1 AT (PREVLEFT PREVTOP 50 AUTO) VISIBLEITEMS 3 NONUSABLE
POPUPLIST ID PDoFTrigger1 PDoFList1
BUTTON "Calculate" ID PDoFButton1 AT (5 PREVTOP+16 AUTO AUTO)
GRAFFITISTATEINDICATOR AT (140 144)
END
ALERT ID InformationResults
INFORMATION
BEGIN
TITLE "Results"
MESSAGE "Near edge:\n^1 m\nFar Edge:\n^2 m"
BUTTONS "OK"
END
STRING ID 1 "PDoF 1.2 Copyright ⌐ 2000 Matti J. KΣrki\n\nmjk@iki.fi\nhttp://www.iki.fi/mjk\n\nPDoF is a small application for photographers to help calculating Depth-of-Field values.\n\nUsage:\nEnter required values and press Calculate button. Use '.' as a decimal separator.\n\nPlease, feel free to send me an e-mail if you like PDoF. You can also send me feedback, bug reports and comments about the program. The address is: <mjk@iki.fi>.\n\nThis program comes without any warranty. Use at your own risk.\n\nThis program is distributed under the General Public License Version 2.0. To see detailed license, please read the GPL.TXT file or visit at the web site http://www.gnu.org/copyleft/gpl.txt\n"