crpixmap.c
来自「Nxlib,一个模拟xlib的程序。使用microwindows的库来运行需要x」· C语言 代码 · 共 21 行
C
21 行
#include "nxlib.h"PixmapXCreatePixmap(Display * dpy, Drawable d, unsigned int width, unsigned int height, unsigned int depth){ /* Drawable ignored with nano-X */printf("XCreatePixmap %d,%d depth %d\n", width, height, depth); // FIXME depth ignored in pixmap if (depth == 1) printf("XCreatePixmap created with depth 1\n"); return GrNewPixmap(width, height, NULL);}intXFreePixmap(Display * display, Pixmap pixmap){ GrDestroyWindow(pixmap); return 1;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?