resources: remove unused files
This commit is contained in:
parent
fc308eb394
commit
8950f4cd55
|
@ -4,9 +4,6 @@
|
|||
// 1. Mapping
|
||||
// You can replace pictures used in GUI
|
||||
|
||||
// 640*480 png
|
||||
#define BG_PATH "vbg.png"
|
||||
|
||||
// png
|
||||
#define VBTN_ON_PATH "vbtn_on.png"
|
||||
#define VBTN_OFF_PATH "vbtn_off.png"
|
||||
|
@ -15,11 +12,6 @@
|
|||
#define VSW_ON_PATH "vsw_on.png"
|
||||
#define VSW_OFF_PATH "vsw_off.png"
|
||||
|
||||
// png
|
||||
#define SEG_BKGND_ENA
|
||||
#define SEG_BKGND_CUSTOM
|
||||
#define VSEGLED_BG_PATH "vsegled_bg.png"
|
||||
|
||||
// 2. Hardware options
|
||||
|
||||
#define VGA_ENA
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 622 B |
|
@ -82,16 +82,10 @@ static void init_render_local(SDL_Renderer *renderer) {
|
|||
tsegled_dot_on = new_texture(renderer, SEG_DOT_WIDTH, SEG_DOT_HEIGHT, 0xff, 0x00, 0x00);
|
||||
tsegled_dot_off = new_texture(renderer, SEG_DOT_WIDTH, SEG_DOT_HEIGHT, 0x2b, 0x2b, 0x2b);
|
||||
|
||||
#ifdef SEG_BKGND_ENA
|
||||
SDL_Texture *tseg7_background;
|
||||
#if 0 //def SEG_BKGND_CUSTOM
|
||||
tseg7_background = load_pic_texture(renderer, VSEGLED_BG_PATH);
|
||||
#else
|
||||
tseg7_background = new_texture(renderer, SEG_TOT_WIDTH, SEG_TOT_HEIGHT, 0x00, 0x00, 0x00);
|
||||
#endif
|
||||
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0);
|
||||
SDL_Rect rect_seg7 = {SEG_X, SEG_Y, SEG_TOT_WIDTH, SEG_TOT_HEIGHT};
|
||||
SDL_RenderCopy(renderer, tseg7_background, NULL, &rect_seg7);
|
||||
#endif
|
||||
SDL_RenderFillRect(renderer, &rect_seg7);
|
||||
SDL_SetRenderDrawColor(renderer, 0xff, 0xff, 0xff, 0);
|
||||
|
||||
// draw surrounding lines
|
||||
const int gap = 14;
|
||||
|
|
Loading…
Reference in New Issue