[sword-cvs] swordreader/src/simplegui newres.h,NONE,1.1 resource.h,NONE,1.1 simplegui.rc,NONE,1.1 simplegui.vcl,NONE,1.1 simplegui.vcp,NONE,1.1
sword@www.crosswire.org
sword@www.crosswire.org
Sat, 28 Feb 2004 12:43:31 -0700
- Previous message: [sword-cvs] swordreader/src SwRd.vco,1.18,1.19 SwRd.vcw,1.2,1.3
- Next message: [sword-cvs] swordreader/src/gui BibleReader.aps,1.3,1.4 BibleReader.rc,1.2,1.3 Main.cpp,1.6,1.7 NavBooks.cpp,1.4,1.5 NavBooks.h,1.4,1.5 NavChap.cpp,1.1,1.2 NavChap.h,1.1,1.2 NavFind.cpp,1.2,1.3 NavFind.h,1.2,1.3 NavNumbers.cpp,1.4,1.5 NavNumbers.h,1.4,1.5 NavPage.h,1.2,1.3 NavRenderText.cpp,1.9,1.10 NavRenderText.h,1.3,1.4 NavVerse.cpp,1.1,1.2 NavVerse.h,1.1,1.2 Navigator.cpp,1.8,1.9 Navigator.h,1.7,1.8 gui.vcl,1.19,1.20 gui.vcp,1.8,1.9 resource.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/core/swordreader/src/simplegui
In directory www:/tmp/cvs-serv5625/simplegui
Added Files:
newres.h resource.h simplegui.rc simplegui.vcl simplegui.vcp
Log Message:
Finalized making two gui's, one simple one for reading and one to be extended to be a full sword frontend
--- NEW FILE: newres.h ---
#ifndef __NEWRES_H__
#define __NEWRES_H__
#if !defined(UNDER_CE)
#define UNDER_CE _WIN32_WCE
#endif
#if defined(_WIN32_WCE)
#if !defined(WCEOLE_ENABLE_DIALOGEX)
#define DIALOGEX DIALOG DISCARDABLE
#endif
#include <commctrl.h>
#define SHMENUBAR RCDATA
#if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300)
#include <aygshell.h>
#define AFXCE_IDR_SCRATCH_SHMENU 28700
#else
#define I_IMAGENONE (-2)
#define NOMENU 0xFFFF
#define IDS_SHNEW 1
#define IDM_SHAREDNEW 10
#define IDM_SHAREDNEWDEFAULT 11
#endif // _WIN32_WCE_PSPC
#define AFXCE_IDD_SAVEMODIFIEDDLG 28701
#endif // _WIN32_WCE
#ifdef RC_INVOKED
#ifndef _INC_WINDOWS
#define _INC_WINDOWS
#include "winuser.h" // extract from windows header
#include "winver.h"
#endif
#endif
#ifdef IDC_STATIC
#undef IDC_STATIC
#endif
#define IDC_STATIC (-1)
#endif //__NEWRES_H__
--- NEW FILE: resource.h ---
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by BibleReader.rc
//
#define MENU_ABOUT 0
#define IDS_APP_TITLE 1
#define IDS_HELLO 2
#define IDC_BIBLEREADER 3
#define IDI_BIBLEREADER 101
#define IDM_MENU 102
#define IDD_ERROR_NOBIBLES 103
#define IDS_HELP 104
#define IDS_COMMAND1 301
#define IDM_MAIN_COMMAND1 40001
#define IDM_HELP_ABOUT 40003
#define MENU_BOOK 40004
#define IDS_CAP_BOOK 40006
#define MENU_CHAP 40007
#define IDS_CAP_CHAP 40009
#define MENU_VERSE 40010
#define IDS_CAP_TEXT 40013
#define MENU_BIBLE 40014
#define IDS_CAP_VERSE 40016
#define IDS_CAP_BIBLE 40018
#define MENU_TEXT 40019
#define IDS_SELECTBOOK 40019
#define IDS_SELECTCHAP 40020
#define MENU_MENU 40021
#define IDS_SELECTBIBLE 40022
#define IDS_CAP_MENU 40023
#define MENU_FIND 40029
#define IDS_CAP_FIND 40030
#define MENU_SHUTDOWN 40031
#define USERBUTTONS 41000
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 109
#define _APS_NEXT_COMMAND_VALUE 40032
#define _APS_NEXT_CONTROL_VALUE 1002
#define _APS_NEXT_SYMED_VALUE 102
#endif
#endif
--- NEW FILE: simplegui.rc ---
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "newres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_BIBLEREADER ICON DISCARDABLE "..\gui\BibleReader.ICO"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""newres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Data
//
IDM_MENU SHMENUBAR MOVEABLE PURE
BEGIN
IDM_MENU, 6,
I_IMAGENONE, MENU_BOOK, TBSTATE_ENABLED,
TBSTYLE_CHECK | TBSTYLE_AUTOSIZE, IDS_CAP_BOOK, 0, NOMENU,
I_IMAGENONE, MENU_CHAP, TBSTATE_ENABLED,
TBSTYLE_CHECK | TBSTYLE_AUTOSIZE, IDS_CAP_CHAP, 0, NOMENU,
I_IMAGENONE, MENU_VERSE, TBSTATE_ENABLED,
TBSTYLE_CHECK | TBSTYLE_AUTOSIZE, IDS_CAP_VERSE, 0, NOMENU,
I_IMAGENONE, MENU_TEXT, TBSTATE_ENABLED,
TBSTYLE_CHECK | TBSTYLE_AUTOSIZE, IDS_CAP_TEXT, MENU_TEXT, NOMENU,
I_IMAGENONE, MENU_FIND, TBSTATE_ENABLED,
TBSTYLE_CHECK | TBSTYLE_AUTOSIZE, IDS_CAP_FIND, 0, NOMENU,
I_IMAGENONE, MENU_MENU, TBSTATE_ENABLED,
TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_MENU, 0, 5,
END
/////////////////////////////////////////////////////////////////////////////
//
// Menubar
//
IDM_MENU MENU DISCARDABLE
BEGIN
MENUITEM "Book", MENU_BOOK
MENUITEM "Chap", MENU_CHAP
MENUITEM "Verse", MENU_VERSE
MENUITEM "Text", MENU_TEXT
MENUITEM "Find", MENU_FIND
POPUP "Menu"
BEGIN
MENUITEM "About", MENU_ABOUT
MENUITEM "Shutdown", MENU_SHUTDOWN
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_BIBLEREADER ACCELERATORS DISCARDABLE
BEGIN
"A", IDM_HELP_ABOUT, VIRTKEY, CONTROL, NOINVERT
"Q", IDOK, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_ERROR_NOBIBLES, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 243
TOPMARGIN, 7
BOTTOMMARGIN, 75
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ERROR_NOBIBLES DIALOG DISCARDABLE 0, 0, 250, 82
STYLE WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "ERROR: No bibles were installed",IDC_STATIC,7,31,229,16
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Sword Reader"
IDC_BIBLEREADER "BIBLEREADER"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CAP_BOOK "Book"
IDS_CAP_CHAP "Chap"
IDS_CAP_TEXT "Text"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CAP_VERSE "Verse"
IDS_CAP_BIBLE "Find"
IDS_SELECTBOOK "Select a book:"
IDS_SELECTCHAP "Select a chapter:"
IDS_SELECTBIBLE "Select a bible"
IDS_CAP_MENU "Menu"
IDS_CAP_FIND "Find"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
--- NEW FILE: simplegui.vcl ---
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: simplegui - Win32 (WCE ARM) Release--------------------
</h3>
<h3>Command Lines</h3>
<h3>Results</h3>
simplegui.exe - 0 error(s), 0 warning(s)
</pre>
</body>
</html>
--- NEW FILE: simplegui.vcp ---
# Microsoft eMbedded Visual Tools Project File - Name="simplegui" - Package Owner=<4>
# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
# ** DO NOT EDIT **
# TARGTYPE "Win32 (WCE x86) Application" 0x8301
# TARGTYPE "Win32 (WCE ARM) Application" 0x8501
CFG=simplegui - Win32 (WCE ARM) Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "simplegui.vcn".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "simplegui.vcn" CFG="simplegui - Win32 (WCE ARM) Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
[...1056 lines suppressed...]
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
SOURCE=.\simplegui.rc
!IF "$(CFG)" == "simplegui - Win32 (WCE ARM) Release"
!ELSEIF "$(CFG)" == "simplegui - Win32 (WCE ARM) Debug"
!ELSEIF "$(CFG)" == "simplegui - Win32 (WCE x86) Release"
!ELSEIF "$(CFG)" == "simplegui - Win32 (WCE x86) Debug"
!ENDIF
# End Source File
# End Group
# End Target
# End Project
- Previous message: [sword-cvs] swordreader/src SwRd.vco,1.18,1.19 SwRd.vcw,1.2,1.3
- Next message: [sword-cvs] swordreader/src/gui BibleReader.aps,1.3,1.4 BibleReader.rc,1.2,1.3 Main.cpp,1.6,1.7 NavBooks.cpp,1.4,1.5 NavBooks.h,1.4,1.5 NavChap.cpp,1.1,1.2 NavChap.h,1.1,1.2 NavFind.cpp,1.2,1.3 NavFind.h,1.2,1.3 NavNumbers.cpp,1.4,1.5 NavNumbers.h,1.4,1.5 NavPage.h,1.2,1.3 NavRenderText.cpp,1.9,1.10 NavRenderText.h,1.3,1.4 NavVerse.cpp,1.1,1.2 NavVerse.h,1.1,1.2 Navigator.cpp,1.8,1.9 Navigator.h,1.7,1.8 gui.vcl,1.19,1.20 gui.vcp,1.8,1.9 resource.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]