Windows update
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
//
|
||||
|
||||
#include "sevenseg.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
#include <SDL2/SDL_render.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void render_segment(SDL_Renderer *renderer, SevenSegment *display) {
|
||||
int seg_width = display->rect->w / 4;
|
||||
|
@@ -3,6 +3,8 @@
|
||||
//
|
||||
|
||||
#include "switches.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void generate_switch_rects(Switches *switches) {
|
||||
int switch_width = switches->rect->w / 4;
|
||||
|
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <SDL_rect.h>
|
||||
#include <SDL_render.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
uint16_t value;
|
||||
|
Reference in New Issue
Block a user