15 lines
410 B
C++
15 lines
410 B
C++
|
|
#include "GUI.h"
|
||
|
|
|
||
|
|
void GUI::DrawFramerateCounter() {
|
||
|
|
ImGui::SetNextWindowPos(ImVec2(10, 10));
|
||
|
|
ImGui::Begin("FPS", nullptr, ImVec2(0, 0), 0.3f, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize);
|
||
|
|
ImGui::Text("FPS: %.2f", ImGui::GetIO().Framerate);
|
||
|
|
ImGui::End();
|
||
|
|
}
|
||
|
|
|
||
|
|
void GUI::DrawConfigurationWindow() {
|
||
|
|
ImGui::Begin("cstrike-basehook-linux", nullptr);
|
||
|
|
ImGui::Text("Hello, world!");
|
||
|
|
ImGui::End();
|
||
|
|
}
|