More stupid changes...
This commit is contained in:
parent
84af630ce0
commit
4ebe017c1b
@ -10,7 +10,7 @@
|
|||||||
#define XLESSES_SOURCE
|
#define XLESSES_SOURCE
|
||||||
|
|
||||||
#include <xolatile/xlesses.h>
|
#include <xolatile/xlesses.h>
|
||||||
#include <stdio.h>
|
|
||||||
char * blesses_window_title = "xolatile";
|
char * blesses_window_title = "xolatile";
|
||||||
int blesses_window_width = 640;
|
int blesses_window_width = 640;
|
||||||
int blesses_window_height = 480;
|
int blesses_window_height = 480;
|
||||||
@ -177,7 +177,7 @@ void blesses_render_string (char * string, int x, int y, int foreground, int bac
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
if (string [offset] == '\t') {
|
if (string [offset] == '\t') {
|
||||||
x += BLESSES_FONT_WIDTH * 3;
|
x += BLESSES_FONT_WIDTH * BLESSES_FONT_TABULATOR;
|
||||||
} else if (string [offset] == '\n') {
|
} else if (string [offset] == '\n') {
|
||||||
y += BLESSES_FONT_HEIGHT;
|
y += BLESSES_FONT_HEIGHT;
|
||||||
x *= 0;
|
x *= 0;
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#define XLESSES_HEADER
|
#define XLESSES_HEADER
|
||||||
|
|
||||||
#include <xolatile/xtandard.h>
|
#include <xolatile/xtandard.h>
|
||||||
#include <xolatile/xtandard.c>
|
|
||||||
|
|
||||||
#include <xcb/xcb.h>
|
#include <xcb/xcb.h>
|
||||||
#include <xcb/xcb_atom.h>
|
#include <xcb/xcb_atom.h>
|
||||||
@ -19,6 +18,8 @@
|
|||||||
#define BLESSES_FONT_WIDTH (8)
|
#define BLESSES_FONT_WIDTH (8)
|
||||||
#define BLESSES_FONT_HEIGHT (8)
|
#define BLESSES_FONT_HEIGHT (8)
|
||||||
|
|
||||||
|
#define BLESSES_FONT_TABULATOR (4)
|
||||||
|
|
||||||
#define BLESSES_SIGNAL_COUNT (144)
|
#define BLESSES_SIGNAL_COUNT (144)
|
||||||
|
|
||||||
extern char * blesses_window_title;
|
extern char * blesses_window_title;
|
||||||
|
Loading…
Reference in New Issue
Block a user