ekg2
GIT master
|
#include "ekg2.h"
#include "ecurses.h"
#include <arpa/inet.h>
#include <string.h>
#include "input.h"
#include "nc-stuff.h"
Struktury danych | |
struct | format_data |
Definicje | |
#define | __fgcolor(x, y, z) |
#define | __bgcolor(x, y) case x: bgcolor = y; break; |
#define | __add_format_(x, z, p) |
#define | __add_format(x, y, z) |
#define | __add_format_emp(x, y) __add_format_(x, y ? (char*) empty_format : NULL, 0) |
#define | __add_format_dup(x, y, z) __add_format_(x, y ? ekg_recode_to_locale(z) : NULL, 0) |
#define | __add_format_emp_st(x, y) case y: __add_format_(x, (char *) empty_format, 0) break |
#define | __add_format_emp_st(x, y) case y: __add_format_("query_" x, (char *) empty_format, 0); break |
Funkcje | |
static int | color_pair_bold (int fg, int bold, int bg) |
static void | window_printat (WINDOW *w, const char *format, struct format_data *data, int fgcolor, int bold, int bgcolor) |
static char * | ncurses_window_activity (void) |
static void | reprint_statusbar (WINDOW *w, int y, const gchar *format, struct format_data *data) |
void | update_statusbar (int commit) |
void | header_statusbar_resize (const char *dummy) |
Zmienne | |
int | config_header_size |
int | config_statusbar_size |
WINDOW * | ncurses_status = NULL |
WINDOW * | ncurses_header = NULL |
#define __add_format | ( | x, | |
y, | |||
z | |||
) |
#define __add_format_ | ( | x, | |
z, | |||
p | |||
) |
#define __add_format_dup | ( | x, | |
y, | |||
z | |||
) | __add_format_(x, y ? ekg_recode_to_locale(z) : NULL, 0) |
#define __add_format_emp | ( | x, | |
y | |||
) | __add_format_(x, y ? (char*) empty_format : NULL, 0) |
#define __add_format_emp_st | ( | x, | |
y | |||
) | case y: __add_format_(x, (char *) empty_format, 0) break |
#define __add_format_emp_st | ( | x, | |
y | |||
) | case y: __add_format_("query_" x, (char *) empty_format, 0); break |
#define __bgcolor | ( | x, | |
y | |||
) | case x: bgcolor = y; break; |
#define __fgcolor | ( | x, | |
y, | |||
z | |||
) |
|
inlinestatic |
void header_statusbar_resize | ( | const char * | dummy | ) |
|
static |
|
static |
void update_statusbar | ( | int | commit | ) |
|
static |
int config_header_size |
int config_statusbar_size |
WINDOW* ncurses_header = NULL |
WINDOW* ncurses_status = NULL |