XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
custom_btn.h File Reference
#include <widgets/base.h>
#include <widgets/window.h>
Include dependency graph for custom_btn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CustomBtn
 

Typedefs

typedef struct _CustomBtn CustomBtn
 

Functions

CustomBtn * CreateCustomBtn (int x, int y, int w, int h, const char *text, uint32_t colorSq, bool isCol)
 
CustomBtn * CreateStyledBtn (int x, int y, int w, int h, const char *text, uint32_t normalBg, uint32_t hoverBg, uint32_t clickedBg, uint32_t textColor, uint32_t borderColor)
 

Typedef Documentation

◆ CustomBtn

typedef struct _CustomBtn CustomBtn

Function Documentation

◆ CreateCustomBtn()

CustomBtn * CreateCustomBtn ( int  x,
int  y,
int  w,
int  h,
const char *  text,
uint32_t  colorSq,
bool  isCol 
)

◆ CreateStyledBtn()

CustomBtn * CreateStyledBtn ( int  x,
int  y,
int  w,
int  h,
const char *  text,
uint32_t  normalBg,
uint32_t  hoverBg,
uint32_t  clickedBg,
uint32_t  textColor,
uint32_t  borderColor 
)