elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
gui
/
render.h
File editor
#ifndef RENDERING_H_INCLUDED #define RENDERING_H_INCLUDED // ---------------------------------------------------- // Clear the screen // ---------------------------------------------------- void R_ClearCanvas(void); // ---------------------------------------------------- // Draws the Palette // ---------------------------------------------------- void R_DrawPalette(void); // ---------------------------------------------------- // Paint // ---------------------------------------------------- void R_Paint(int x1, int y1, int x2, int y2); // ---------------------------------------------------- // Updates the Color Picker when brightness changes. // ---------------------------------------------------- void R_UpdateColorPicker(void); // ---------------------------------------------------- // Updates the Current Color when changes. // ---------------------------------------------------- void R_DrawCurrentColor(void); // ---------------------------------------------------- // Used to draw at 2+px bush size. // ---------------------------------------------------- void R_DrawDisk(int x0, int y0, int r, int color, int X_lim); void R_DrawCircle(int cx, int cy, int r, int color); void R_DrawRectangle(int x1, int y1, int x2, int y2); void R_DrawFilledRectangle(int x1, int y1, int x2, int y2); // ---------------------------------------------------- // Draws all the Palette Buttons // ---------------------------------------------------- void R_DrawAllButtons(void); void R_HighlightActiveButton(void); // ---------------------------------------------------- // Draws Brush Buttons // ---------------------------------------------------- void DrawButtonCircle(int x0, int y0, int w, int h, int r); // ---------------------------------------------------- // Flood Fill Stack // ---------------------------------------------------- void R_FloodFillStack(int x, int y, int newColor, int targetColor); int R_FrontFill(int x0, int y0, int newColor, int targetColor); // ---------------------------------------------------- // Line Flood Fill, for the bucket tool // ---------------------------------------------------- void R_LineFloodFill(int x, int y, int color, int ogColor); // ---------------------------------------------------- // Converts from HSV to RGB // ---------------------------------------------------- ColorRGB_t HSVtoRGB(ColorHSV_t colorHSV); #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history