summary refs log tree commit diff
path: root/machines/corsac/home.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-07 23:02:33 +0200
committerMel <mel@rnrd.eu>2025-07-07 23:02:33 +0200
commit7462e72f4443dee3118e1f54d61660265db090ac (patch)
treeaa052fa82688cd71403f9357b702330616c3459c /machines/corsac/home.nix
parenteb5dec5c73f3e3551fbc33e2868f74c8866f8d72 (diff)
downloadnetwork-7462e72f4443dee3118e1f54d61660265db090ac.tar.zst
network-7462e72f4443dee3118e1f54d61660265db090ac.zip
Remove conduwuit until migration to fork
See: https://girlboss.ceo/~strawberry/conduwuit.txt

I'm very sorry girlbossceo, hope you can find somewhere
where your work is better appreciated. :(

Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/corsac/home.nix')
0 files changed, 0 insertions, 0 deletions
/* Name.Function */ .highlight .nl { color: #DDD } /* Name.Label */ .highlight .nn { color: #DDD } /* Name.Namespace */ .highlight .nx { color: #DDD } /* Name.Other */ .highlight .py { color: #DDD } /* Name.Property */ .highlight .nt { color: #DDD } /* Name.Tag */ .highlight .nv { color: #EEDD82 } /* Name.Variable */ .highlight .ow { color: #F00 } /* Operator.Word */ .highlight .pm { color: #DDD } /* Punctuation.Marker */ .highlight .w { color: #DDD } /* Text.Whitespace */ .highlight .mb { color: #F0F } /* Literal.Number.Bin */ .highlight .mf { color: #F0F } /* Literal.Number.Float */ .highlight .mh { color: #F0F } /* Literal.Number.Hex */ .highlight .mi { color: #F0F } /* Literal.Number.Integer */ .highlight .mo { color: #F0F } /* Literal.Number.Oct */ .highlight .sa { color: #87CEEB } /* Literal.String.Affix */ .highlight .sb { color: #87CEEB } /* Literal.String.Backtick */ .highlight .sc { color: #87CEEB } /* Literal.String.Char */ .highlight .dl { color: #87CEEB } /* Literal.String.Delimiter */ .highlight .sd { color: #87CEEB } /* Literal.String.Doc */ .highlight .s2 { color: #87CEEB } /* Literal.String.Double */ .highlight .se { color: #87CEEB } /* Literal.String.Escape */ .highlight .sh { color: #87CEEB } /* Literal.String.Heredoc */ .highlight .si { color: #87CEEB } /* Literal.String.Interpol */ .highlight .sx { color: #87CEEB } /* Literal.String.Other */ .highlight .sr { color: #87CEEB } /* Literal.String.Regex */ .highlight .s1 { color: #87CEEB } /* Literal.String.Single */ .highlight .ss { color: #87CEEB } /* Literal.String.Symbol */ .highlight .bp { color: #DDD } /* Name.Builtin.Pseudo */ .highlight .fm { color: #FF0 } /* Name.Function.Magic */ .highlight .vc { color: #EEDD82 } /* Name.Variable.Class */ .highlight .vg { color: #EEDD82 } /* Name.Variable.Global */ .highlight .vi { color: #EEDD82 } /* Name.Variable.Instance */ .highlight .vm { color: #EEDD82 } /* Name.Variable.Magic */ .highlight .il { color: #F0F } /* Literal.Number.Integer.Long */
#pragma once

#include <cstdint>
#include <GLFW/glfw3.h>
#include "../Math/Vector.hpp"
#include "Mouse.hpp"

namespace MC::GFX {

class Window {
public:
    Window(const char* title, uint32_t width, uint32_t height);
    ~Window();

    GLFWwindow* get();

    void on_size_change(void (* callback)(GLFWwindow*, int, int));

    void close();
    void start_frame();
    Vector<2> mouse_delta();

    bool key(int key, int type);
    bool should_close();
private:
    GLFWwindow* m_window;
    Mouse m_mouse;
};

}