Replaced colours with theme_item_t
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#define UI_BUFFER_H
|
||||
|
||||
#include "config.h"
|
||||
#include "config/theme.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -43,7 +44,7 @@ typedef struct prof_buff_entry_t {
|
||||
char show_char;
|
||||
GDateTime *time;
|
||||
int flags;
|
||||
int attrs;
|
||||
theme_item_t theme_item;
|
||||
char *from;
|
||||
char *message;
|
||||
} ProfBuffEntry;
|
||||
@@ -52,7 +53,7 @@ typedef struct prof_buff_t *ProfBuff;
|
||||
|
||||
ProfBuff buffer_create();
|
||||
void buffer_free(ProfBuff buffer);
|
||||
void buffer_push(ProfBuff buffer, const char show_char, GDateTime *time, int flags, int attrs, const char * const from, const char * const message);
|
||||
void buffer_push(ProfBuff buffer, const char show_char, GDateTime *time, int flags, theme_item_t theme_item, const char * const from, const char * const message);
|
||||
int buffer_size(ProfBuff buffer);
|
||||
ProfBuffEntry* buffer_yield_entry(ProfBuff buffer, int entry);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user