Debian Codegraph @

helpers/g15helper/g15helper.h

raw symbols SCIP
1 // Copyright 2022-2023 The Mumble Developers. All rights reserved.
2 // Use of this source code is governed by a BSD-style license
3 // that can be found in the LICENSE file at the root of the
4 // Mumble source tree or at <https://www.mumble.info/LICENSE>.
5
6 #ifndef MUMBLE_G15_HELPER_H_
7 #define MUMBLE_G15_HELPER_H_
8
9 #define G15_MAX_DEV 5
10 #define G15_MAX_WIDTH 160
11 #define G15_MAX_HEIGHT 43
12 #define G15_MAX_BPP 1
13 #define G15_MAX_FBMEM (G15_MAX_WIDTH * G15_MAX_HEIGHT * G15_MAX_BPP)
14 #define G15_MAX_FBMEM_BITS (G15_MAX_FBMEM / 8)
15 #if defined(WIN32)
16 # define G15_WIDGET_NAME L"Mumble G15 Display"
17 #elif defined(APPLE)
18 # define G15_WIDGET_NAME CFSTR("Mumble G15 Display")
19 #endif
20
21 enum {
22 G15_ERR_INIT = 1,
23 G15_ERR_CONNECT,
24 G15_ERR_ENUMERATE,
25 G15_ERR_OPEN,
26 G15_ERR_READFILE,
27 G15_ERR_CLOSE,
28 G15_ERR_DISCONNECT,
29 G15_ERR_DEINIT,
30 };
31
32 #endif