blob: 919f9c784ad15ccb065c7079a722ced86c431716 (
plain)
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
|
// Copyright 2005-2019 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#ifndef MUMBLE_G15_HELPER_H_
#define MUMBLE_G15_HELPER_H_
#define G15_MAX_DEV 5
#define G15_MAX_WIDTH 160
#define G15_MAX_HEIGHT 43
#define G15_MAX_BPP 1
#define G15_MAX_FBMEM (G15_MAX_WIDTH * G15_MAX_HEIGHT * G15_MAX_BPP)
#define G15_MAX_FBMEM_BITS (G15_MAX_FBMEM / 8)
#if defined(WIN32)
#define G15_WIDGET_NAME L"Mumble G15 Display"
#elif defined(APPLE)
#define G15_WIDGET_NAME CFSTR("Mumble G15 Display")
#endif
enum {
G15_ERR_INIT = 1,
G15_ERR_CONNECT,
G15_ERR_ENUMERATE,
G15_ERR_OPEN,
G15_ERR_READFILE,
G15_ERR_CLOSE,
G15_ERR_DISCONNECT,
G15_ERR_DEINIT,
};
#endif
|