// AbiWord
// Copyright (C) 1998 AbiSource, Inc.
// 
// 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.
//////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////
// THIS FILE IS INCLUDED BY .cpp AND .rc FILES.
//
// *** RC.exe IS BRAIN-DAMAGED.  GIVING THIS FILE AN .rc2
// *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc
// *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE
// *** DIALOGS DO NOT GET COMPILED.
//
//////////////////////////////////////////////////////////////////
// the main dialog
#define XAP_RID_DIALOG_PLUGIN_MANAGER_TAB					1001
#define XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_CLOSE				1002

// sub-dialog for the "Plugin List" tab
#define XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_ACTIVE			1251
#define XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_INSTALL			1252
#define XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_DEACTIVATE		1253
#define XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_DEACTIVATEALL		1254
#define XAP_RID_DIALOG_PLUGIN_MANAGER_LBX_LIST				1255

// sub-dialog for the "Plugin Details" tab
#define XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_NAME				1201
#define XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_DESCRIPTION		1202
#define XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_AUTHOR			1203
#define XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_VERSION			1204
#define XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_NAME				1205
#define XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_DESCRIPTION		1206
#define XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_AUTHOR			1207
#define XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_VERSION			1208

#ifdef RC_INVOKED
// NOTE -- these placeholder strings get overridden at runtime 
// NOTE -- they're just here to make sizing easier

XAP_RID_DIALOG_PLUGIN_MANAGER DIALOG DISCARDABLE  50, 20, 250, 180
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Plugin Manager"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "Close",XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_CLOSE,
					189,153,50,14
    CONTROL         "Tab1",XAP_RID_DIALOG_PLUGIN_MANAGER_TAB,"SysTabControl32",
					TCS_FOCUSONBUTTONDOWN | WS_TABSTOP,
					7,7,237,137, WS_EX_CONTROLPARENT
END

XAP_RID_DIALOG_PLUGIN_MANAGER_LIST DIALOG DISCARDABLE  0, 0, 230, 115
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT	        "Active Plugins",XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_ACTIVE,
                    7,7,114,14,SS_CENTERIMAGE
    LISTBOX         XAP_RID_DIALOG_PLUGIN_MANAGER_LBX_LIST,
                    7,20,114,88,
					LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Deactivate Plugin",XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_DEACTIVATE,
					127,7,96,14
    PUSHBUTTON      "Deactivate All Plugins",XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_DEACTIVATEALL,
					127,25,96,14
    PUSHBUTTON      "Install New Plugin",XAP_RID_DIALOG_PLUGIN_MANAGER_BTN_INSTALL,
                    127,43,96,14
END

XAP_RID_DIALOG_PLUGIN_MANAGER_DETAILS DIALOG DISCARDABLE  0, 0, 230, 115
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_NAME,
					72,7,151,14, ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_DESCRIPTION,
					72,24,151,48, ES_AUTOVSCROLL | ES_MULTILINE | ES_READONLY
    EDITTEXT        XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_AUTHOR,
					72,75,151,14, ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        XAP_RID_DIALOG_PLUGIN_MANAGER_EBX_VERSION,
					72,92,151,14, ES_AUTOHSCROLL | ES_READONLY

    LTEXT           "Name",XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_NAME,
                    7,7,64,14,SS_CENTERIMAGE
    LTEXT           "Description",XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_DESCRIPTION,
                    7,24,64,48,SS_CENTERIMAGE
    LTEXT           "Author",XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_AUTHOR,
                    7,75,64,14,SS_CENTERIMAGE
    LTEXT           "Version",XAP_RID_DIALOG_PLUGIN_MANAGER_LBL_VERSION,
                    7,92,64,14,SS_CENTERIMAGE
END

#endif /* RC_INVOKED */
