Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.712 kb
#include "stdbool.h"
#include "ttyesc.h"
#pragma once
typedef struct
{
int fore;
int back;
bool hi;
bool ul;
}
colour;
int setcolour(colour);
#ifdef COLOURS
colour c_msg[2]={{7, 0, false, true}, {7, 0, false, false}};
colour c_notice[2]={{7, 0, true, false}, {7, 0, true, false}};
colour c_join[2]={{2, 0, true, false}, {2, 0, true, false}};
colour c_part[2]={{6, 0, true, false}, {6, 0, true, false}};
colour c_quit[2]={{3, 0, true, false}, {3, 0, true, false}};
colour c_nick[2]={{4, 0, true, false}, {4, 0, true, false}};
colour c_actn[2]={{0, 3, false, 1}, {0, 3, false, false}};
colour c_err={1, 0, true, false};
colour c_unk={3, 4, false, false};
colour c_unn={1, 6, false, true};
#endif // COLOURS
Jump to Line
Something went wrong with that request. Please try again.