sinfo
a compact graphical system performance monitor
Loading...
Searching...
No Matches
include
sinfo.h
1
#ifndef SINFO_H
2
#define SINFO_H
3
#include "imgui.h"
4
#include "imgui_impl_glfw.h"
5
#include "imgui_impl_opengl2.h"
6
#include "K3Buffer.h"
7
#include "K3System.h"
8
#include "K3Key.h"
9
#ifdef __APPLE__
10
#define GL_SILENCE_DEPRECATION
11
#endif
12
#include <GLFW/glfw3.h>
13
#if defined(_MSC_VER) && (_MSC_VER >= 1900) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS)
14
#pragma comment(lib, "legacy_stdio_definitions")
15
#endif
16
#define XVIEW 999
17
#define YVIEW 666
18
#define BUFFER_SIZE 600
19
#define HISTOGRAM_SIZE 100
20
#define DEBUG true
21
#define VERSION "0.0.3"
22
#define WIN_ABOUT 0
23
#define WIN_DEBUG 1
24
#define WIN_CONTROL 2
25
26
static
void
glfw_error_callback(
int
,
const
char
*);
27
static
ImVec2 plain(
void
);
28
static
void
draw(
K3Buffer
*,
const
char
*,
const
char
*,
const
char
*,
bool
);
29
static
void
spacePlot(
K3Buffer
*,
const
char
*,
const
char
*,
const
char
*);
30
static
void
timePlot(
K3Buffer
*,
const
char
*,
const
char
*,
const
char
*);
32
#endif
K3Buffer
class to control data containers
Definition
K3Buffer.h:30
Generated on Thu Jun 20 2024 for sinfo by
1.11.0