/* * BSD 2-Clause “Simplified” License * Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com * All rights reserved. */ #ifndef INCLUDE_BUTTON #define INCLUDE_BUTTON typedef enum t_button_type { BUTTON_STATIC = 0, BUTTON_ENABLED = 1, BUTTON_DISABLED = 2, BUTTON_HIGHLIGHTED = 3, } button_type; bool button_render(float scale, button_type enabled, char* text, s32 x, s32 y, s32 w, s32 h); #endif