-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
36 lines (30 loc) · 1.5 KB
/
main.h
File metadata and controls
36 lines (30 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <Windows.h>
#ifndef MAIN_H_
#define MAIN_H_
LRESULT CALLBACK MainWindowProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK VideoWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK SearchWindowProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK SettingsWndProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK NetworkTabProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK ProviderTabProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK LangTabProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK InfoWindowProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
LRESULT CALLBACK EpisodeWindowProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
void videoWindowWrapper(void* data);
DWORD WINAPI settingsWindowWrapper(void* arg);
int WINAPI wWinMain(HINSTANCE hinstance, HINSTANCE hprevinstance, PWSTR lpcmdline, int nshowcmd);
int checkVersion();
int createSettingsWindow(HINSTANCE hinstance);
int createNetworkTab();
int createProviderTab();
int createLanguageTab();
int createVideoWindow(HINSTANCE hinstance);
int createInfoWindow(HINSTANCE hinstance);
int createEpisodeWindow(HINSTANCE hinstance);
BOOL CALLBACK SetFontProc(HWND hwnd, LPARAM lparam);
BOOL CALLBACK SetBackgroundColorProc(HWND hwnd, LPARAM lparam);
void initializeTheming();
void showNetworkTab();
void showProviderTab();
void showLanguageTab();
#endif