亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? screens.c

?? 安裝DDD之前
?? C
?? 第 1 頁 / 共 4 頁
字號:
/* $Id: screens.c,v 1.1 2004/08/28 19:25:46 dannybackx Exp $ *//*****************************************************************************//**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **//**                          Salt Lake City, Utah                           **//**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **//**                        Cambridge, Massachusetts                         **//**                                                                         **//**                           All Rights Reserved                           **//**                                                                         **//**    Permission to use, copy, modify, and distribute this software and    **//**    its documentation  for  any  purpose  and  without  fee is hereby    **//**    granted, provided that the above copyright notice appear  in  all    **//**    copies and that both  that  copyright  notice  and  this  permis-    **//**    sion  notice appear in supporting  documentation,  and  that  the    **//**    names of Evans & Sutherland and M.I.T. not be used in advertising    **//**    in publicity pertaining to distribution of the  software  without    **//**    specific, written prior permission.                                  **//**                                                                         **//**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **//**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **//**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **//**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **//**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **//**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **//**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **//**    OR PERFORMANCE OF THIS SOFTWARE.                                     **//*****************************************************************************//**************************************************************************** * This module is based on Twm, but has been siginificantly modified  * by Rob Nation  ****************************************************************************//*********************************************************************** * The rest of it is all my fault -- MLM * mwm - "LessTif Window Manager" ***********************************************************************/#include <LTconfig.h>#include <stdio.h>#include <X11/keysym.h>#include <Xm/XmP.h>#include <Xm/MwmUtil.h>#include <XmI/XmI.h>#include "mwm.h"/* amai: Unfortunately X11 forgot about non-case-sensitive filesystems which   may have problems to store both "X11/bitmaps/Stipple" and   "X11/bitmaps/stipple".   So we inline the few lines here instead. */#if 0#include <X11/bitmaps/stipple>#else#define stipple_width 16#define stipple_height 4static char stipple_bits[] = {   0x55, 0x55, 0xee, 0xee, 0x55, 0x55, 0xba, 0xbb};#endif /* #if 0 *//* * create the GC's for the menus */static voidcreate_menu_gcs(ScreenInfo *scr){    XGCValues gcv;    unsigned long gcm;    gcm = GCFunction | GCPlaneMask | GCGraphicsExposures | GCLineWidth |	GCForeground | GCBackground | GCFont;    gcv.line_width = 0;    gcv.plane_mask = AllPlanes;    gcv.function = GXcopy;    if (scr->components[MWM_MENU].font_list == NULL)	scr->components[MWM_MENU].font_list = _XmFontListCreateDefault(dpy);   _XmFontListGetDefaultFont(scr->components[MWM_MENU].font_list,	                     &scr->components[MWM_MENU].font);    gcv.font = scr->components[MWM_MENU].font->fid;    if (scr->components[MWM_MENU].font)    {	scr->components[MWM_MENU].f_height =	    scr->components[MWM_MENU].font->ascent +	    scr->components[MWM_MENU].font->descent;	scr->components[MWM_MENU].f_y =	    scr->components[MWM_MENU].font->ascent;    }    /*     * Prevent GraphicsExpose and NoExpose events.  We'd only get NoExpose     * events anyway;  they cause BadWindow errors from XGetWindowAttributes     * call in FindScreenInfo (events.c) (since drawable is a pixmap).     */    gcv.graphics_exposures = False;    gcv.foreground = scr->components[MWM_MENU].foreground;    gcv.background = scr->components[MWM_MENU].background;    scr->components[MWM_MENU].normal_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    /* FIXME - not a very good grayed out color */    scr->components[MWM_MENU].grayed_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    {        Pixmap stipple = XCreateBitmapFromData(dpy, scr->root_win, stipple_bits,                                     stipple_width, stipple_height);        if (stipple) {            XSetFillStyle(dpy, scr->components[MWM_MENU].grayed_GC,                          FillOpaqueStippled);            XSetStipple(dpy, scr->components[MWM_MENU].grayed_GC,                        stipple);        }    }    if (scr->components[MWM_MENU].top_shadow_pixmap != None &&	scr->components[MWM_MENU].top_shadow_pixmap != XmUNSPECIFIED_PIXMAP)    {	gcm = GCTile | GCFillStyle;	gcv.tile = scr->components[MWM_MENU].top_shadow_pixmap;	gcv.fill_style = FillTiled;    }    else    {	gcm = GCForeground | GCBackground;	gcv.foreground = scr->components[MWM_MENU].top_shadow_color;	gcv.background = scr->components[MWM_MENU].background;    }    gcm |= GCLineWidth | GCLineStyle | GCCapStyle |	GCGraphicsExposures;    gcv.line_width = 0;    gcv.line_style = LineSolid;    gcv.cap_style = CapButt;    gcv.graphics_exposures = False;    scr->components[MWM_MENU].top_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    if (scr->components[MWM_MENU].bottom_shadow_pixmap != None &&	scr->components[MWM_MENU].bottom_shadow_pixmap != XmUNSPECIFIED_PIXMAP)    {	gcm = GCTile | GCFillStyle;	gcv.tile = scr->components[MWM_MENU].bottom_shadow_pixmap;	gcv.fill_style = FillTiled;    }    else    {	gcm = GCForeground | GCBackground;	gcv.foreground = scr->components[MWM_MENU].bottom_shadow_color;	gcv.background = scr->components[MWM_MENU].background;    }    gcm |= GCLineWidth | GCLineStyle | GCCapStyle |	GCGraphicsExposures;    gcv.line_width = 0;    gcv.line_style = LineSolid;    gcv.cap_style = CapButt;    gcv.graphics_exposures = False;    scr->components[MWM_MENU].bot_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);}/* * create the GC's for the feedback */static voidcreate_feedback_gcs(ScreenInfo *scr){    XGCValues gcv;    unsigned long gcm;    gcm = GCFunction | GCPlaneMask | GCGraphicsExposures | GCLineWidth |	GCForeground | GCBackground | GCFont;    gcv.line_width = 0;    gcv.function = GXcopy;    gcv.plane_mask = AllPlanes;    if (scr->components[MWM_FEEDBACK].font_list == NULL)	scr->components[MWM_FEEDBACK].font_list = _XmFontListCreateDefault(dpy);    _XmFontListGetDefaultFont(scr->components[MWM_FEEDBACK].font_list,                              &scr->components[MWM_FEEDBACK].font);    gcv.font = scr->components[MWM_FEEDBACK].font->fid;    if (scr->components[MWM_FEEDBACK].font)    {	scr->components[MWM_FEEDBACK].f_height =	    scr->components[MWM_FEEDBACK].font->ascent +	    scr->components[MWM_FEEDBACK].font->descent;	scr->components[MWM_FEEDBACK].f_y =	    scr->components[MWM_FEEDBACK].font->ascent;    }    /*     * Prevent GraphicsExpose and NoExpose events.  We'd only get NoExpose     * events anyway;  they cause BadWindow errors from XGetWindowAttributes     * call in FindScreenInfo (events.c) (since drawable is a pixmap).     */    gcv.graphics_exposures = False;    gcv.foreground = scr->components[MWM_FEEDBACK].foreground;    gcv.background = scr->components[MWM_FEEDBACK].background;    scr->components[MWM_FEEDBACK].normal_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    scr->components[MWM_FEEDBACK].grayed_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    XSetFillStyle(dpy, scr->components[MWM_FEEDBACK].grayed_GC, FillOpaqueStippled);    if (scr->components[MWM_FEEDBACK].top_shadow_pixmap != None &&	scr->components[MWM_FEEDBACK].top_shadow_pixmap != XmUNSPECIFIED_PIXMAP)    {	gcm = GCTile | GCFillStyle;	gcv.tile = scr->components[MWM_FEEDBACK].top_shadow_pixmap;	gcv.fill_style = FillTiled;    }    else    {	gcm = GCForeground | GCBackground;	gcv.foreground = scr->components[MWM_FEEDBACK].top_shadow_color;	gcv.background = scr->components[MWM_FEEDBACK].background;    }    gcm |= GCLineWidth | GCLineStyle | GCCapStyle |	GCGraphicsExposures;    gcv.line_width = 0;    gcv.line_style = LineSolid;    gcv.cap_style = CapButt;    gcv.graphics_exposures = False;    scr->components[MWM_FEEDBACK].top_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    if (scr->components[MWM_FEEDBACK].bottom_shadow_pixmap != None &&    scr->components[MWM_FEEDBACK].bottom_shadow_pixmap != XmUNSPECIFIED_PIXMAP)    {	gcm = GCTile | GCFillStyle;	gcv.tile = scr->components[MWM_FEEDBACK].bottom_shadow_pixmap;	gcv.fill_style = FillTiled;    }    else    {	gcm = GCForeground | GCBackground;	gcv.foreground = scr->components[MWM_FEEDBACK].bottom_shadow_color;	gcv.background = scr->components[MWM_FEEDBACK].background;    }    gcm |= GCLineWidth | GCLineStyle | GCCapStyle |	GCGraphicsExposures;    gcv.line_width = 0;    gcv.line_style = LineSolid;    gcv.cap_style = CapButt;    gcv.graphics_exposures = False;    scr->components[MWM_FEEDBACK].bot_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);}static voidcreate_pager_gcs(ScreenInfo *scr){    XGCValues gcv;    unsigned long gcm;    gcm = GCFunction | GCPlaneMask | GCGraphicsExposures | GCLineWidth |	GCForeground | GCBackground | GCFont;    gcv.line_width = 0;    gcv.function = GXcopy;    gcv.plane_mask = AllPlanes;    if (scr->components[MWM_PAGER].font_list == NULL)	scr->components[MWM_PAGER].font_list = _XmFontListCreateDefault(dpy);    _XmFontListGetDefaultFont(scr->components[MWM_PAGER].font_list,	            &scr->components[MWM_PAGER].font);    gcv.font = scr->components[MWM_PAGER].font->fid;    if (scr->components[MWM_PAGER].font)    {	scr->components[MWM_PAGER].f_height =	    scr->components[MWM_PAGER].font->ascent +	    scr->components[MWM_PAGER].font->descent;	scr->components[MWM_PAGER].f_y =	    scr->components[MWM_PAGER].font->ascent;    }    /*     * Prevent GraphicsExpose and NoExpose events.  We'd only get NoExpose     * events anyway;  they cause BadWindow errors from XGetWindowAttributes     * call in FindScreenInfo (events.c) (since drawable is a pixmap).     */    gcv.graphics_exposures = False;    gcv.foreground = scr->components[MWM_PAGER].foreground;    gcv.background = scr->components[MWM_PAGER].background;    scr->components[MWM_PAGER].normal_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    scr->components[MWM_PAGER].grayed_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    XSetFillStyle(dpy, scr->components[MWM_PAGER].grayed_GC, FillOpaqueStippled);}/* * create the GC's for the icons */static voidcreate_icon_gcs(ScreenInfo *scr){    XGCValues gcv;    unsigned long gcm;    gcm = GCFunction | GCPlaneMask | GCGraphicsExposures | GCLineWidth |	GCForeground | GCBackground | GCFont;    gcv.line_width = 0;    gcv.function = GXcopy;    gcv.plane_mask = AllPlanes;    if (scr->components[MWM_ICON].font_list == NULL)	scr->components[MWM_ICON].font_list = _XmFontListCreateDefault(dpy);    _XmFontListGetDefaultFont(scr->components[MWM_ICON].font_list,	            &scr->components[MWM_ICON].font);    gcv.font = scr->components[MWM_ICON].font->fid;    if (scr->components[MWM_ICON].font)    {	scr->components[MWM_ICON].f_height =	    scr->components[MWM_ICON].font->ascent +	    scr->components[MWM_ICON].font->descent;	scr->components[MWM_ICON].f_y =	    scr->components[MWM_ICON].font->ascent;    }    /*     * Prevent GraphicsExpose and NoExpose events.  We'd only get NoExpose     * events anyway;  they cause BadWindow errors from XGetWindowAttributes     * call in FindScreenInfo (events.c) (since drawable is a pixmap).     */    gcv.graphics_exposures = False;    gcv.foreground = scr->components[MWM_ICON].foreground;    gcv.background = scr->components[MWM_ICON].background;    scr->components[MWM_ICON].normal_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    scr->components[MWM_ICON].grayed_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    XSetFillStyle(dpy, scr->components[MWM_ICON].grayed_GC, FillStippled);    if (scr->components[MWM_ICON].top_shadow_pixmap != None &&	scr->components[MWM_ICON].top_shadow_pixmap != XmUNSPECIFIED_PIXMAP)    {	gcm = GCTile | GCFillStyle;	gcv.tile = scr->components[MWM_ICON].top_shadow_pixmap;	gcv.fill_style = FillTiled;    }    else    {	gcm = GCForeground | GCBackground;	gcv.foreground = scr->components[MWM_ICON].top_shadow_color;	gcv.background = scr->components[MWM_ICON].background;    }    gcm |= GCLineWidth | GCLineStyle | GCCapStyle |	GCGraphicsExposures;    gcv.line_width = 0;    gcv.line_style = LineSolid;    gcv.cap_style = CapButt;    gcv.graphics_exposures = False;    scr->components[MWM_ICON].top_GC =	XCreateGC(dpy, scr->root_win, gcm, &gcv);    if (scr->components[MWM_ICON].bottom_shadow_pixmap != None &&

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
7777精品伊人久久久大香线蕉超级流畅 | 亚洲欧美成aⅴ人在线观看| 韩国一区二区在线观看| 欧美变态口味重另类| 日本不卡一区二区| 精品久久久久久久久久久院品网| 久久精品国产**网站演员| 欧美精品一区视频| 国产白丝精品91爽爽久久| 国产精品久久久久影视| www.亚洲激情.com| 亚洲狠狠爱一区二区三区| 欧美视频自拍偷拍| 天使萌一区二区三区免费观看| 日韩免费视频一区| 成人av电影在线观看| 亚洲自拍偷拍av| 日韩网站在线看片你懂的| 国产福利91精品| 一区二区三区欧美亚洲| 91精品国产免费| 岛国精品在线播放| 午夜精品影院在线观看| 久久免费电影网| 欧洲亚洲国产日韩| 国产一区二区三区不卡在线观看| 亚洲日本护士毛茸茸| 欧美日韩国产免费一区二区 | 亚洲日本在线天堂| 91精品久久久久久蜜臀| 成人av午夜影院| 日韩精品电影一区亚洲| 国产精品色哟哟网站| 欧美片网站yy| www.在线欧美| 免费欧美日韩国产三级电影| 中文字幕在线不卡| 欧美一区二区三区系列电影| 岛国精品在线观看| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲欧美韩国综合色| 欧美变态tickle挠乳网站| 色综合天天做天天爱| 看国产成人h片视频| 亚洲色图.com| 久久久久88色偷偷免费| 91麻豆精品国产91久久久久久 | 亚洲人成人一区二区在线观看 | 亚洲成人免费看| 五月天一区二区三区| 国产亚洲午夜高清国产拍精品| 色域天天综合网| 国产精品99久久久| 午夜婷婷国产麻豆精品| 中文字幕视频一区| 国产亚洲一区字幕| 日韩精品自拍偷拍| 欧美精品一卡两卡| 色8久久精品久久久久久蜜| 福利一区福利二区| 精品一区二区三区视频在线观看| 亚洲综合成人在线视频| 国产精品国产三级国产专播品爱网 | 91精品免费在线| 欧美亚洲国产一卡| 91在线视频免费观看| 国产精品18久久久久久久久| 蜜桃av噜噜一区| 免费高清成人在线| 免费在线观看一区| 蜜桃免费网站一区二区三区| 日韩在线a电影| 午夜精品久久久久久| 亚洲成在线观看| 一区二区三区四区高清精品免费观看 | 精品在线一区二区| 美脚の诱脚舐め脚责91| 琪琪一区二区三区| 精品制服美女久久| 国产美女精品人人做人人爽| 欧美日本精品一区二区三区| 色屁屁一区二区| 欧美日韩精品系列| 欧美日韩aaaaaa| 91精品国产欧美一区二区| 91精品国产91久久久久久一区二区| 欧美手机在线视频| 91精品国产综合久久福利软件| 在线观看国产精品网站| 欧美亚一区二区| 欧美日韩激情一区二区三区| 欧美一区二区三区视频免费| 欧美精品一区二区三区很污很色的 | 亚洲欧洲日韩在线| 亚洲人成在线播放网站岛国| 亚洲黄色性网站| 婷婷综合五月天| 国产在线精品一区二区三区不卡| 国产精品亚洲一区二区三区在线| 国产xxx精品视频大全| www.亚洲人| 欧美日韩国产一区| 2023国产精品自拍| 国产精品国产三级国产普通话99| 伊人夜夜躁av伊人久久| 日本中文字幕一区| 国产精品伊人色| 色综合久久久久综合99| 777午夜精品视频在线播放| 2021国产精品久久精品| 国产精品三级久久久久三级| 亚洲三级小视频| 久久福利视频一区二区| 91视频在线观看免费| 欧美一级夜夜爽| 中文字幕乱码亚洲精品一区| 亚洲一区二区在线播放相泽| 麻豆91在线播放| 成人av影视在线观看| 91精品国产一区二区三区| 国产精品毛片无遮挡高清| 亚洲h精品动漫在线观看| 韩国v欧美v日本v亚洲v| 91成人看片片| 国产午夜一区二区三区| 亚洲二区视频在线| gogo大胆日本视频一区| 日韩一级成人av| 一区二区三区国产豹纹内裤在线| 国产精品资源网| 91精品在线免费| 亚洲精品国产高清久久伦理二区| 国产一区在线不卡| 欧美一二三区在线观看| 亚洲免费av高清| 成人午夜在线视频| 亚洲精品在线免费播放| 亚洲一级二级三级在线免费观看| 高清不卡一二三区| 久久久噜噜噜久久中文字幕色伊伊| 亚洲高清免费观看高清完整版在线观看| 国产ts人妖一区二区| 欧美va亚洲va在线观看蝴蝶网| 亚洲中国最大av网站| 色综合久久天天| 黄色精品一二区| 91精品国产免费| 亚洲电影一区二区| 欧洲一区在线电影| 中文字幕欧美一| 粉嫩aⅴ一区二区三区四区| 欧美成人一区二区三区在线观看| 午夜在线电影亚洲一区| 日本高清无吗v一区| 亚洲欧美在线高清| 国产精品夜夜嗨| 久久九九全国免费| 国产大片一区二区| 久久久久久麻豆| 国产一区二区精品久久99| 欧美一级一级性生活免费录像| 婷婷久久综合九色综合伊人色| 在线免费观看不卡av| 亚洲一级不卡视频| 欧美日韩综合在线| 亚洲高清免费在线| 欧美一区二区国产| 免费看欧美美女黄的网站| 欧美精品视频www在线观看| 午夜精品久久久久久久| 欧美三级在线看| 性做久久久久久免费观看| 在线视频观看一区| 一区二区三区色| 欧美性猛交xxxxxx富婆| 亚洲成人7777| 91精品国产欧美一区二区18 | 成人免费看黄yyy456| 国产欧美一区二区精品仙草咪| 国产高清亚洲一区| 国产精品电影一区二区| 一本色道亚洲精品aⅴ| 亚洲综合色在线| 欧美日韩国产精品成人| 日韩成人免费电影| 精品成人私密视频| 成人小视频免费在线观看| 国产精品午夜在线| 在线视频中文字幕一区二区| 亚洲bt欧美bt精品| 精品国产1区2区3区| 国产69精品一区二区亚洲孕妇 | 精品国产亚洲一区二区三区在线观看| 麻豆精品一二三| 国产精品丝袜久久久久久app| 91麻豆国产精品久久| 亚洲电影一区二区三区| 精品av久久707| av一区二区三区四区| 亚洲mv大片欧洲mv大片精品|