Separate shader for image processing and simple texture display.

ImageShader added a second texture for mask blending. Cleanup of User
Interface windows.
This commit is contained in:
brunoherbelin
2020-04-27 13:44:20 +02:00
parent 1d9e955bfa
commit d248df0567
22 changed files with 303 additions and 210 deletions

View File

@@ -31,8 +31,7 @@ public:
class UserInterface
{
// own implementation of ImGui
unsigned int textureicons;
friend class MainWindow;
MainWindow mainwindow;
std::string currentFileDialog;
std::string currentTextEdit;
@@ -73,6 +72,12 @@ public:
//
void OpenTextEditor(std::string text);
protected:
bool show_preview;
void RenderPreview();
bool show_media_player;
void RenderMediaPlayer();
};
#endif /* #define __UI_MANAGER_H_ */