[go: up one dir, main page]

File: osd.hh

package info (click to toggle)
fbzx 3.1.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye, buster, stretch
  • size: 2,152 kB
  • ctags: 861
  • sloc: cpp: 10,495; ansic: 8,663; python: 1,116; makefile: 123; xml: 28; sh: 3
file content (33 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
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
/*
 * osd.hh
 *
 *  Created on: 26/03/2015
 *      Author: raster
 */

#ifndef SRC_OSD_HH_
#define SRC_OSD_HH_

using namespace std;
#include <string>
#include <stdint.h>

extern class OSD *osd;

class OSD {

	string text;
	uint8_t lines;
	uint32_t time;

public:
	OSD();
	void set_message(string, uint32_t);
	uint32_t get_time();
	string get_text(uint8_t &);
	void clear_message();

};


#endif /* SRC_OSD_HH_ */