diff --git a/README.md b/README.md index 0eb3550..7ddc5b3 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,7 @@ Michael Bethke (https://github.com/AVividLight), shuttersparks. VERSION ======= -1.0.6 +1.0.8 LICENSE diff --git a/kiss_draw.c b/kiss_draw.c index e09b2c9..b96c18e 100644 --- a/kiss_draw.c +++ b/kiss_draw.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h" @@ -184,8 +184,6 @@ SDL_Renderer* kiss_init(char* title, kiss_array *a, int w, int h) renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC); kiss_array_new(a); - kiss_array_append(a, WINDOW_TYPE, window); - kiss_array_append(a, RENDERER_TYPE, renderer); font_new(&kiss_textfont, "kiss_font.ttf", a, kiss_textfont_size); font_new(&kiss_buttonfont, "kiss_font.ttf", a, kiss_buttonfont_size); image_new(&kiss_normal, "kiss_normal.png", a, renderer); @@ -200,6 +198,8 @@ SDL_Renderer* kiss_init(char* title, kiss_array *a, int w, int h) image_new(&kiss_right, "kiss_right.png", a, renderer); image_new(&kiss_selected, "kiss_selected.png", a, renderer); image_new(&kiss_unselected, "kiss_unselected.png", a, renderer); + kiss_array_append(a, RENDERER_TYPE, renderer); + kiss_array_append(a, WINDOW_TYPE, window); return renderer; } @@ -230,8 +230,8 @@ int kiss_clean(kiss_array *a) } a->length = 0; kiss_array_free(a); - IMG_Quit(); TTF_Quit(); + IMG_Quit(); SDL_Quit(); return 0; } diff --git a/kiss_example1.c b/kiss_example1.c index a4b4c6b..ed67c03 100644 --- a/kiss_example1.c +++ b/kiss_example1.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h" diff --git a/kiss_example2.c b/kiss_example2.c index 8d002b4..7f3cdcb 100644 --- a/kiss_example2.c +++ b/kiss_example2.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h" diff --git a/kiss_general.c b/kiss_general.c index 97e0ba4..5eaabdd 100644 --- a/kiss_general.c +++ b/kiss_general.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h" diff --git a/kiss_manual.pdf b/kiss_manual.pdf index 6c92e66..0241b56 100644 Binary files a/kiss_manual.pdf and b/kiss_manual.pdf differ diff --git a/kiss_posix.c b/kiss_posix.c index ea655ca..f3b7698 100644 --- a/kiss_posix.c +++ b/kiss_posix.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h" diff --git a/kiss_sdl.h b/kiss_sdl.h index bcc3308..94a2ca2 100644 --- a/kiss_sdl.h +++ b/kiss_sdl.h @@ -16,7 +16,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #ifndef _kiss_sdl_h diff --git a/kiss_widgets.c b/kiss_widgets.c index ce11cac..8f673b5 100644 --- a/kiss_widgets.c +++ b/kiss_widgets.c @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. - kiss_sdl version 1.0.6 + kiss_sdl version 1.0.8 */ #include "kiss_sdl.h"