⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getgeom.c

📁 Nxlib,一个模拟xlib的程序。使用microwindows的库来运行需要xlib支持的程序。
💻 C
字号:
#include "nxlib.h"StatusXGetGeometry(Display *dpy, Drawable d, Window *root, int *x, int *y,	unsigned int *width, unsigned int *height, unsigned int *borderWidth,	unsigned int *depth){	GR_WINDOW_INFO info;	GR_SCREEN_INFO sinfo;	GrGetWindowInfo(d, &info);	GrGetScreenInfo(&sinfo);	*root = GR_ROOT_WINDOW_ID;	*x = info.x;	*y = info.y;	*width = info.width;	*height = info.height;	*borderWidth = info.bordersize;	*depth = sinfo.bpp;	return 1;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -