xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

XWin.rc (3781B)


      1 /*
      2  *Copyright (C) 2002-2004 Harold L Hunt II All Rights Reserved.
      3  *Copyright (C) 2008 Yaakov Selkowitz All Rights Reserved
      4  *
      5  *Permission is hereby granted, free of charge, to any person obtaining
      6  * a copy of this software and associated documentation files (the
      7  *"Software"), to deal in the Software without restriction, including
      8  *without limitation the rights to use, copy, modify, merge, publish,
      9  *distribute, sublicense, and/or sell copies of the Software, and to
     10  *permit persons to whom the Software is furnished to do so, subject to
     11  *the following conditions:
     12  *
     13  *The above copyright notice and this permission notice shall be
     14  *included in all copies or substantial portions of the Software.
     15  *
     16  *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     17  *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     18  *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     19  *NONINFRINGEMENT. IN NO EVENT SHALL HAROLD L HUNT II BE LIABLE FOR
     20  *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
     21  *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     22  *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     23  *
     24  *Except as contained in this notice, the names of the authors
     25  *shall not be used in advertising or otherwise to promote the sale, use
     26  *or other dealings in this Software without prior written authorization
     27  *from the authors.
     28  *
     29  * Authors:	Harold L Hunt II, Yaakov Selkowitz
     30  */
     31 
     32 #include <windows.h>
     33 #include "winresource.h"
     34 #include "xwin-config.h"
     35 #include "version-config.h"
     36 
     37 /*
     38  * Dialogs
     39  */
     40 
     41 /* About */
     42 ABOUT_BOX DIALOGEX 32, 32, 260, 105
     43 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_TABSTOP  | DS_CENTERMOUSE
     44 CAPTION "About " XVENDORNAMESHORT
     45 FONT 8, "MS Shell Dlg 2"
     46 BEGIN
     47   CONTROL				IDI_XWIN, IDC_STATIC, "Static", SS_ICON, 8, 8, 32, 32
     48   LTEXT			XVENDORNAMESHORT " X Server ", IDC_STATIC, 36, 8, 220, 8
     49   LTEXT			VENDOR_MAN_VERSION, IDC_STATIC, 36, 18, 220, 8
     50   LTEXT			BUILDERSTRING, IDC_STATIC, 36, 28, 220, 8
     51   LTEXT			"This software is licensed under the terms of the MIT/X11 License.", IDC_STATIC, 36, 48, 220, 20
     52   CONTROL               __VENDORDWEBSUPPORT__, ID_ABOUT_WEBSITE, "Button",
     53                         BS_OWNERDRAW | WS_TABSTOP, 36, 68, 220, 8
     54   DEFPUSHBUTTON		"&OK", IDOK, 105, 85, 50, 15
     55 END
     56 
     57 
     58 /* Depth change */
     59 
     60 DEPTH_CHANGE_BOX DIALOGEX 32, 32, 180, 100
     61 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_CENTERMOUSE
     62 FONT 8, "MS Shell Dlg 2"
     63 CAPTION XVENDORNAMESHORT
     64 BEGIN
     65   DEFPUSHBUTTON		"Dismiss", IDOK, 66, 80, 50, 14
     66   CTEXT			XVENDORNAMESHORT, IDC_STATIC, 40, 12, 100, 8
     67   CTEXT			"Disruptive screen configuration change.", IDC_STATIC, 7, 40, 166, 8
     68   CTEXT			"Restore previous resolution to use " XVENDORNAMESHORT ".", IDC_STATIC, 7, 52, 166, 8
     69 END
     70 
     71 
     72 /* Exit */
     73 
     74 EXIT_DIALOG DIALOGEX 32, 32, 180, 78
     75 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_TABSTOP | DS_CENTERMOUSE
     76 FONT 8, "MS Shell Dlg 2"
     77 CAPTION "Exit " XVENDORNAMESHORT "?"
     78 BEGIN
     79   PUSHBUTTON "E&xit", IDOK, 55, 56, 30, 14
     80   DEFPUSHBUTTON "&Cancel", IDCANCEL, 95, 56, 30, 14
     81   CTEXT "E&xiting will close all screens running on this display.", IDC_STATIC, 7, 12, 166, 8
     82   CTEXT "No information about connected clients available.", IDC_CLIENTS_CONNECTED, 7, 24, 166, 8
     83   CTEXT "Proceed with shutdown of this display/server?", IDC_STATIC, 7, 36, 166, 8
     84 END
     85 
     86 
     87 /*
     88  * Menus
     89  */
     90 
     91 IDM_TRAYICON_MENU MENU
     92 BEGIN
     93 	POPUP "TRAYICON_MENU"
     94 	BEGIN
     95 		MENUITEM "&Hide Root Window", ID_APP_HIDE_ROOT
     96 		MENUITEM "Clipboard may use &PRIMARY selection", ID_APP_MONITOR_PRIMARY
     97 		MENUITEM "&About...", ID_APP_ABOUT
     98 		MENUITEM SEPARATOR
     99 		MENUITEM "E&xit...", ID_APP_EXIT
    100 	END
    101 END
    102 
    103 
    104 /*
    105  * Icons
    106  */
    107 
    108 IDI_XWIN		ICON	"X.ico"
    109 CREATEPROCESS_MANIFEST_RESOURCE_ID	RT_MANIFEST	"XWin.exe.manifest"