equal
deleted
inserted
replaced
22 |
22 |
23 typedef bool ValidationProc ( uint data_a, uint data_b ); |
23 typedef bool ValidationProc ( uint data_a, uint data_b ); |
24 typedef void DrawNewsCallbackProc(Window *w); |
24 typedef void DrawNewsCallbackProc(Window *w); |
25 typedef StringID GetNewsStringCallbackProc(const NewsItem *ni); |
25 typedef StringID GetNewsStringCallbackProc(const NewsItem *ni); |
26 |
26 |
27 #define NEWS_FLAGS(mode,flag,type,cb) ((cb)<<24 | (type)<<16 | (flag)<<8 | (mode)) |
27 #define NEWS_FLAGS(mode, flag, type, cb) ((cb) << 24 | (type) << 16 | (flag) << 8 | (mode)) |
28 void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b); |
28 void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b); |
29 void NewsLoop(); |
29 void NewsLoop(); |
30 void DrawNewsBorder(const Window *w); |
30 void DrawNewsBorder(const Window *w); |
31 void InitNewsItemStructs(); |
31 void InitNewsItemStructs(); |
32 |
32 |