mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-04 16:36:44 +02:00
add setting option to disable timestamps
This commit is contained in:
@ -26,9 +26,9 @@
|
||||
#include "toxic.h"
|
||||
|
||||
#ifdef _SUPPORT_AUDIO
|
||||
#define NUM_SETTINGS 8
|
||||
#define NUM_SETTINGS 9
|
||||
#else
|
||||
#define NUM_SETTINGS 6
|
||||
#define NUM_SETTINGS 7
|
||||
#endif /* _SUPPORT_AUDIO */
|
||||
|
||||
/* holds user setting values */
|
||||
@ -36,6 +36,7 @@ struct user_settings {
|
||||
int autolog; /* boolean */
|
||||
int alerts; /* boolean */
|
||||
int time; /* 12 or 24 */
|
||||
int timestamps; /* boolean */
|
||||
int colour_theme; /* boolean (0 for default toxic colours) */
|
||||
int history_size; /* int between MIN_HISTORY and MAX_HISTORY */
|
||||
char download_path[MAX_STR_SIZE];
|
||||
@ -53,6 +54,9 @@ enum {
|
||||
TIME_24 = 24,
|
||||
TIME_12 = 12,
|
||||
|
||||
TIMESTAMPS_OFF = 0,
|
||||
TIMESTAMPS_ON = 1,
|
||||
|
||||
ALERTS_DISABLED = 1,
|
||||
ALERTS_ENABLED = 0,
|
||||
|
||||
|
Reference in New Issue
Block a user