guiBase Library

img

git repo

I made this library to simplify making gui apps in c++.
it uses GLFW and dearImGui with vulkan rendering.
this allows the user to focus on making an application without having to worry about most cross-platform nicknacks.

the included example shows a working example of how to setup your cmake project, entrypoint and layers.
each layer is meant to be its own window, below is a minimal example.

class exampleLayer : public guiBase::Layer {
public:
    exampleLayer() = default;

public:
    // void onAttach() override {
    // }

    void onUpdate() override {
        if (ImGui::Begin("example")) {
            ImGui::Text("%s", "example text");
        }
        ImGui::End();
    }

    // void onDetach() override {
    // }

private:
};

I have been using this library for multiple personal projects and in combination with other libraries without issue