added texttures
This commit is contained in:
parent
8dd9f2e02d
commit
89d295044d
BIN
bin/assets/images/breaking_button.png
Normal file
BIN
bin/assets/images/breaking_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
bin/assets/images/play_button.png
Normal file
BIN
bin/assets/images/play_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
BIN
bin/assets/images/settings_button#.png
Normal file
BIN
bin/assets/images/settings_button#.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
BIN
bin/assets/images/skins_button.png
Normal file
BIN
bin/assets/images/skins_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
@ -7,8 +7,8 @@ SDL_Texture* TITLE_Texture;
|
|||||||
SDL_Rect TargetRect;
|
SDL_Rect TargetRect;
|
||||||
|
|
||||||
void Load_Textures (SDL_Renderer* renderer) {
|
void Load_Textures (SDL_Renderer* renderer) {
|
||||||
TITLE_Texture = IMG_LoadTexture(renderer, "assets/images/Texts.png");
|
TITLE_Texture = IMG_LoadTexture(renderer, "assets/images/breaking_button.png");
|
||||||
TargetRect = (SDL_Rect){.x = 200,.y = 100, .w=1000, .h=256};
|
TargetRect = (SDL_Rect){.x = 583,.y = 100, .w=754, .h=334};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user