XWin.rc revision 05b261ec
105b261ecSmrg/* 205b261ecSmrg *Copyright (C) 2002-2004 Harold L Hunt II All Rights Reserved. 305b261ecSmrg * 405b261ecSmrg *Permission is hereby granted, free of charge, to any person obtaining 505b261ecSmrg * a copy of this software and associated documentation files (the 605b261ecSmrg *"Software"), to deal in the Software without restriction, including 705b261ecSmrg *without limitation the rights to use, copy, modify, merge, publish, 805b261ecSmrg *distribute, sublicense, and/or sell copies of the Software, and to 905b261ecSmrg *permit persons to whom the Software is furnished to do so, subject to 1005b261ecSmrg *the following conditions: 1105b261ecSmrg * 1205b261ecSmrg *The above copyright notice and this permission notice shall be 1305b261ecSmrg *included in all copies or substantial portions of the Software. 1405b261ecSmrg * 1505b261ecSmrg *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 1605b261ecSmrg *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1705b261ecSmrg *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 1805b261ecSmrg *NONINFRINGEMENT. IN NO EVENT SHALL HAROLD L HUNT II BE LIABLE FOR 1905b261ecSmrg *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 2005b261ecSmrg *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 2105b261ecSmrg *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2205b261ecSmrg * 2305b261ecSmrg *Except as contained in this notice, the name of Harold L Hunt II 2405b261ecSmrg *shall not be used in advertising or otherwise to promote the sale, use 2505b261ecSmrg *or other dealings in this Software without prior written authorization 2605b261ecSmrg *from Harold L Hunt II. 2705b261ecSmrg * 2805b261ecSmrg * Authors: Harold L Hunt II 2905b261ecSmrg */ 3005b261ecSmrg 3105b261ecSmrg#include "windows.h" 3205b261ecSmrg#include "winresource.h" 3305b261ecSmrg 3405b261ecSmrg/* 3505b261ecSmrg * Dialogs 3605b261ecSmrg */ 3705b261ecSmrg 3805b261ecSmrg/* About */ 3905b261ecSmrgABOUT_BOX DIALOG DISCARDABLE 32, 32, 240, 105 4005b261ecSmrgSTYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_TABSTOP | DS_CENTERMOUSE 4105b261ecSmrgCAPTION "About " PROJECT_NAME 4205b261ecSmrgFONT 8, "MS Sans Serif" 4305b261ecSmrgBEGIN 4405b261ecSmrg CONTROL PROJECT_NAME " Website", ID_ABOUT_WEBSITE, "Button", 4505b261ecSmrg BS_OWNERDRAW | WS_TABSTOP, 30, 45, 75, 15 4605b261ecSmrg CONTROL "Change Log", ID_ABOUT_CHANGELOG, "Button", 4705b261ecSmrg BS_OWNERDRAW | WS_TABSTOP, 135, 45, 75, 15 4805b261ecSmrg CONTROL "User's Guide", ID_ABOUT_UG, "Button", 4905b261ecSmrg BS_OWNERDRAW | WS_TABSTOP, 30, 65, 75, 15 5005b261ecSmrg CONTROL "FAQ", ID_ABOUT_FAQ, "Button", 5105b261ecSmrg BS_OWNERDRAW | WS_TABSTOP, 135, 65, 75, 15 5205b261ecSmrg 5305b261ecSmrg DEFPUSHBUTTON "Dismiss", IDOK, 95, 85, 50, 15 5405b261ecSmrg 5505b261ecSmrg CTEXT "Welcome to the preliminary About box for the " PROJECT_NAME " X Server. This dialog was created on 2004/03/25 and will eventually be filled with more useful information. For now, use the links below to learn more about the " PROJECT_NAME " project.", IDC_STATIC, 5, 5, 230, 35 5605b261ecSmrgEND 5705b261ecSmrg 5805b261ecSmrg 5905b261ecSmrg/* Depth change */ 6005b261ecSmrg 6105b261ecSmrgDEPTH_CHANGE_BOX DIALOG DISCARDABLE 32, 32, 180, 100 6205b261ecSmrgSTYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_CENTERMOUSE 6305b261ecSmrgFONT 8, "MS Sans Serif" 6405b261ecSmrgCAPTION PROJECT_NAME 6505b261ecSmrgBEGIN 6605b261ecSmrg DEFPUSHBUTTON "Dismiss", IDOK, 66, 80, 50, 14 6705b261ecSmrg CTEXT PROJECT_NAME, IDC_STATIC, 40, 12, 100, 8 6805b261ecSmrg CTEXT "Disruptive screen configuration change.", IDC_STATIC, 7, 40, 166, 8 6905b261ecSmrg CTEXT "Restore previous resolution to use " PROJECT_NAME ".", IDC_STATIC, 7, 52, 166, 8 7005b261ecSmrgEND 7105b261ecSmrg 7205b261ecSmrg 7305b261ecSmrg/* Exit */ 7405b261ecSmrg 7505b261ecSmrgEXIT_DIALOG DIALOG DISCARDABLE 32, 32, 180, 78 7605b261ecSmrgSTYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_TABSTOP | DS_CENTERMOUSE 7705b261ecSmrgFONT 8, "MS Sans Serif" 7805b261ecSmrgCAPTION PROJECT_NAME " - Exit?" 7905b261ecSmrgBEGIN 8005b261ecSmrg PUSHBUTTON "E&xit", IDOK, 55, 56, 30, 14 8105b261ecSmrg DEFPUSHBUTTON "&Cancel", IDCANCEL, 95, 56, 30, 14 8205b261ecSmrg CTEXT "Exiting will close all screens running on this display.", IDC_STATIC, 7, 12, 166, 8 8305b261ecSmrg CTEXT "No information about connected clients available.", IDC_CLIENTS_CONNECTED, 7, 24, 166, 8 8405b261ecSmrg CTEXT "Proceed with shutdown of this display/server?", IDC_STATIC, 7, 36, 166, 8 8505b261ecSmrgEND 8605b261ecSmrg 8705b261ecSmrg 8805b261ecSmrg/* 8905b261ecSmrg * Menus 9005b261ecSmrg */ 9105b261ecSmrg 9205b261ecSmrgIDM_TRAYICON_MENU MENU DISCARDABLE 9305b261ecSmrgBEGIN 9405b261ecSmrg POPUP "TRAYICON_MENU" 9505b261ecSmrg BEGIN 9605b261ecSmrg MENUITEM "&Hide Root Window", ID_APP_HIDE_ROOT 9705b261ecSmrg MENUITEM "&About...", ID_APP_ABOUT 9805b261ecSmrg MENUITEM SEPARATOR 9905b261ecSmrg MENUITEM "E&xit", ID_APP_EXIT 10005b261ecSmrg END 10105b261ecSmrgEND 10205b261ecSmrg 10305b261ecSmrg 10405b261ecSmrg/* 10505b261ecSmrg * Icons 10605b261ecSmrg */ 10705b261ecSmrg 10805b261ecSmrgIDI_XWIN ICON DISCARDABLE "X.ico" 10905b261ecSmrgIDI_XWIN_BOXED ICON DISCARDABLE "X-boxed.ico" 110