can render 2 cv::mats
This commit is contained in:
+9
-1
@@ -1,13 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "Image.hpp"
|
||||
#include "imgui.h"
|
||||
#include "imgui_impl_glfw.h"
|
||||
#include "imgui_impl_opengl3.h"
|
||||
|
||||
namespace ui
|
||||
namespace pixelarium::ui
|
||||
{
|
||||
enum LogLevelSelection
|
||||
{
|
||||
@@ -23,10 +25,16 @@ class AppGLFW
|
||||
AppGLFW();
|
||||
int Run();
|
||||
|
||||
private:
|
||||
void MenuBar();
|
||||
void LoadImageProt();
|
||||
|
||||
private:
|
||||
LogLevelSelection log_level_ = static_cast<LogLevelSelection>(0);
|
||||
GLFWwindow* window = nullptr;
|
||||
ImGuiWindowFlags window_flags = 0;
|
||||
pixelarium::imaging::Image _img;
|
||||
bool _imagep { false };
|
||||
};
|
||||
|
||||
static void glfw_error_callback(int error, const char* description)
|
||||
|
||||
Reference in New Issue
Block a user