forked from go-qamel/qamel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewer.h
48 lines (39 loc) · 1.22 KB
/
viewer.h
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
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#ifndef QAMEL_VIEWER_H
#define QAMEL_VIEWER_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
// Class
class QamelView;
extern "C" {
#endif
// Constructor
void* Viewer_NewViewer();
// Methods
void Viewer_SetSource(void* ptr, char* url);
void Viewer_SetResizeMode(void* ptr, int resizeMode);
void Viewer_SetFlags(void* ptr, int flags);
void Viewer_SetHeight(void* ptr, int height);
void Viewer_SetWidth(void* ptr, int width);
void Viewer_SetMaximumHeight(void* ptr, int height);
void Viewer_SetMaximumWidth(void* ptr, int width);
void Viewer_SetMinimumHeight(void* ptr, int height);
void Viewer_SetMinimumWidth(void* ptr, int width);
void Viewer_SetOpacity(void* ptr, double opacity);
void Viewer_SetTitle(void* ptr, char* title);
void Viewer_SetVisible(void* ptr, bool visible);
void Viewer_SetPosition(void* ptr, int x, int y);
void Viewer_SetIcon(void* ptr, char* fileName);
void Viewer_Show(void* ptr);
void Viewer_ShowMaximized(void* ptr);
void Viewer_ShowMinimized(void* ptr);
void Viewer_ShowFullScreen(void* ptr);
void Viewer_ShowNormal(void* ptr);
void Viewer_SetWindowStates(void* ptr, int state);
void Viewer_ClearComponentCache(void* ptr);
void Viewer_Reload(void* ptr);
#ifdef __cplusplus
}
#endif
#endif