File arachne-res.rc of Package arachne

/*
arachne.rc
Author: Hayden Walles
Date: 9 March 2008
Windows resource script for Arachne.
*/

/*
    Copyright (C) 2008 Hayden Walles

    This file is part of Arachne.

    Arachne 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.

    Arachne 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 <winuser.h>
#include <commctrl.h>
#include "resource.h"


ICON_ARACHNE ICON "icons/arachne.ico"
ICON_ORIGMODE ICON "icons/origmode.ico"
ICON_VERTMODE ICON "icons/vertmode.ico"
ICON_HORZMODE ICON "icons/horzmode.ico"
ICON_PROTECTTOOL ICON "icons/ergsplus.ico"
ICON_EXPOSETOOL ICON "icons/ergsminus.ico"
ICON_CLEARTOOL ICON "icons/ergsnormal.ico"

ID_MENU MENU {
	POPUP "&File" {
	      MENUITEM "&Open...", ID_FILE_OPEN
	      MENUITEM "Save &As...", ID_FILE_SAVEAS
	      MENUITEM "E&xit", ID_FILE_EXIT
	}	      
	POPUP "&Mode" {
	      MENUITEM "&Width",ID_MODE_HORZ
	      MENUITEM "&Height",ID_MODE_VERT
              MENUITEM "&Original",ID_MODE_ORIG
	}
	POPUP "&Tools" {
	      MENUITEM "&Protect",ID_TOOL_PROTECT
	      MENUITEM "&Expose",ID_TOOL_EXPOSE
	      MENUITEM "&Clear",ID_TOOL_CLEAR
	}
	POPUP "&Options" {
	      MENUITEM "&Dynamic Energy",ID_OPTION_DYNAMICENERGY
	}
	POPUP "&Help" {
              MENUITEM "&Help",ID_HELP_HELP
	      MENUITEM "&About Arachne...",ID_HELP_ABOUT
        } 


}

ID_DLG_ABOUT DIALOGEX 100,100,180,64
CAPTION "About Arachne"
FONT 8, "MS Shell Dlg"
STYLE WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SHELLFONT
{
ICON ICON_ARACHNE,0,4,8
LTEXT "Arachne 1.1.0",0,30,8,166,8
LTEXT "Copyright 2007, 2008 Hayden Walles",0,30,16,166,8
LTEXT "http://seam-carver.sourceforge.net/",0,30,24,166,8
PUSHBUTTON "OK",IDOK,65,40,50,16
}


ID_DLG_PROGRESS DIALOGEX 0,0,200,40
CAPTION "Working..."
FONT 8,"MS Shell Dlg"
STYLE WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SHELLFONT
 {
 LTEXT "Please wait...",ID_DLG_PROGRESS_TEXT,4,8,190,8
 CONTROL "",ID_DLG_PROGRESS_BAR,PROGRESS_CLASS,WS_VISIBLE|WS_CHILD,4,24,190,8
}
openSUSE Build Service is sponsored by