Skip to content

Instantly share code, notes, and snippets.

View masterex1000's full-sized avatar

masterex1000

View GitHub Profile
@masterex1000
masterex1000 / agui.h
Created October 22, 2020 18:29
A small UI helper library intended to be used with raylib. It has a few simple rectangle manipulation functions that make it much easier to write a semi-responsive ui
/**
* This is a simple helper library for handling some common responsive ui stuff
*
* I wrote this because UI dev sucks and I wanted to stop writing the same code
* over and over again.
*
* This also adds some nice things like doing margins if you want. All it does
* is modify the bounds of rectangles but it is suprisingly flexable.
*
* License: I don't care, do anything as long as you don't claim it as your own
/**
* A thin event-driven rpc system built with gun
*
* this implementation is bigger than it needs to be
* but it does have some nice quality of life features
**/
var DEBUG = true; //Set to false if not debugging garp
class Rpc {