diff --git a/src/pax_text.h b/src/pax_text.h index 95d1c11..2327bbc 100644 --- a/src/pax_text.h +++ b/src/pax_text.h @@ -62,13 +62,13 @@ pax_vec2f pax_draw_text (pax_buf_t *buf, pax_col_t color, const pax_font_t // Draw a string with the given font and return it's size. // Size is before matrix transformation. // Font is scaled up without interpolation, overriding it's default. -__attribute__((warning ("DEPRECATION NOTICE: This function is subject to be removed in release v2.0.0"))) +__attribute__((deprecated)) pax_vec2f pax_draw_text_noaa(pax_buf_t *buf, pax_col_t color, const pax_font_t *font, float font_size, float x, float y, const char *text); // DEPRECATION NOTICE: This function is subject to be removed // Draw a string with the given font and return it's size. // Size is before matrix transformation. // Font is scaled up with interpolation, overriding it's default. -__attribute__((warning ("DEPRECATION NOTICE: This function is subject to be removed in release v2.0.0"))) +__attribute__((deprecated)) pax_vec2f pax_draw_text_aa (pax_buf_t *buf, pax_col_t color, const pax_font_t *font, float font_size, float x, float y, const char *text); // Calculate the size of the string with the given font. // Size is before matrix transformation. diff --git a/src/pax_types.h b/src/pax_types.h index 19e9966..2f0223f 100644 --- a/src/pax_types.h +++ b/src/pax_types.h @@ -309,12 +309,14 @@ struct pax_buf { union { // Pallette for buffers with a pallette type. + __attribute__((deprecated)) pax_col_t *pallette; // Pallette for buffers with a pallette type. pax_col_t *palette; }; union { // The number of colors in the pallette. + __attribute__((deprecated)) size_t pallette_size; // The number of colors in the pallette. size_t palette_size;