summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/utils.h
blob: d6bfb0ad2f2034b89a149ee9d05836f6713667ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct ItemData;
struct NewstoryListData;

uint32_t toggleBit(uint32_t dw, uint32_t bit);
bool CheckFilter(wchar_t *buf, wchar_t *filter);

HMENU NSMenu_Build(NewstoryListData *data, ItemData *item);
bool NSMenu_Process(int iCommand, NewstoryListData *data);

int GetFontHeight(const LOGFONTA &lf);

void UrlAutodetect(CMStringW &str);
void RemoveBbcodes(CMStringW &pwszText);

Bitmap* LoadImageFromResource(HINSTANCE, int, const wchar_t *);