summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/utils.h
blob: d9fb352546924a52b2931d9cee2890d53cefa425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);