Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
rinri
/
dmenu-rinri
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
made Fnt an anonymous struct
master
Anselm R. Garbe
17 anos atrás
pai
18592825d2
commit
de34639883
2 arquivos alterados
com
10 adições
e
15 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
config.mk
+9
-14
dmenu.h
+ 1
- 1
config.mk
Ver arquivo
@@ -1,5 +1,5 @@
# dmenu version
VERSION = 2.
3
VERSION = 2.
4
# Customize below to fit your system
+ 9
- 14
dmenu.h
Ver arquivo
@@ -14,25 +14,20 @@
/* color */
enum { ColFG, ColBG, ColLast };
typedef struct DC DC;
typedef struct Fnt Fnt;
struct Fnt {
XFontStruct *xfont;
XFontSet set;
int ascent;
int descent;
int height;
};
struct DC {
typedef struct {
int x, y, w, h;
unsigned long norm[ColLast];
unsigned long sel[ColLast];
Drawable drawable;
Fnt font;
GC gc;
}; /* draw context */
struct {
XFontStruct *xfont;
XFontSet set;
int ascent;
int descent;
int height;
} font;
} DC; /* draw context */
extern int screen;
extern Display *dpy;
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar