commit 0bede0e

dalem  ·  2026-02-08 02:33:43 +0000 UTC
parent 3c4431b
Rename swc_wallpaper_init to swc_wallpaper_set

this change makes it appear as more consistent
2 files changed,  +3, -3
+2, -2
 1@@ -438,10 +438,10 @@ extern struct wld_buffer *wallbuf;
 2 
 3 /**
 4  * Set wallpaper to image from fs path.
 5- * TODO: scaling, tiling, maybe diff image for each screen
 6+ * TODO: tiling, maybe diff image for each screen
 7  */
 8 
 9-void swc_wallpaper_init(char* path);
10+void swc_wallpaper_set(char* path);
11 
12 /**
13  * Set wallpaper to a single color
+1, -1
1@@ -21,7 +21,7 @@ struct wld_buffer *wallbuf = NULL;
2 uint32_t bgcolor = 0xff000000;
3 
4 EXPORT void
5-swc_wallpaper_init(char* path)
6+swc_wallpaper_set(char* path)
7 {
8 	int width, height, chan;
9 	unsigned char *loaded;