?? ui.h
字號:
#include "all.h"
#include <X11/Xlib.h>
#include <ft2build.h>
#include <X11/Xft/Xft.h>
typedef enum {
_3D_FLAT = 0,
_3D_UPPER = 1,
_3D_LOWER = 2
} _3D_EFFECT;
typedef struct {
GC foreGC;
GC backGC;
XColor backColor;
XColor foreColor;
} WINDOW_COLOR;
typedef struct {
GC gc;
XColor color;
} MESSAGE_COLOR;
typedef struct {
char *pcStr;
int iPixel;
} StrPixel;
Bool IsInBox (int x0, int y0, int x1, int y1, int x2, int y2);
Bool InitX (void);
void CreateFont (void);
void InitGC (Window window);
void MyXEventHandler (XEvent * event);
void Draw3DEffect (Window window, int x, int y, int width, int height, _3D_EFFECT effect);
Bool MouseClick (int *x, int *y, Window window);
void OutputString (Window window, XftFont * font, char *str, int x, int y, XColor);
int StringWidth (char *str, XftFont * font);
int FontHeight (XftFont * font);
void rescan_vk_window(void);
Bool CreateVKWindow (void);
void InitVKWindowColor (void);
void DisplayVKWindow (void);
void list_string (Window window, XftFont * font, char str[][STR_SIZE], int len, int x, int y,int w, XColor color);
void show_space(int x,int y,int xx, int yy);
void show_vk(void);
Bool out_put_str(int n);
void show_image(char *image_xpm[], int x, int y, int w, int h);
int point_to_index(int x, int w, char buf[][STR_SIZE], char max_len, XftFont * font);
int index_to_point(int index,int w, char buf[][STR_SIZE], XftFont * font, int check);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -