Tag
Hash :
752330a5
Author :
Thomas de Grivel
Date :
2024-08-08T17:20:11
/* kc3
* Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#ifndef LIBKC3_WINDOW_CAIRO_DEMO_H
#define LIBKC3_WINDOW_CAIRO_DEMO_H
#include "../types.h"
#define WINDOW_CAIRO_DEMO_SEQUENCE_COUNT 5
extern s_cairo_font g_font_computer_modern;
extern s_cairo_font g_font_courier_new;
bool window_cairo_demo_button (s_window_cairo *window, u8 button,
sw x, sw y);
bool window_cairo_demo_key (s_window_cairo *window, uw keysym);
bool window_cairo_demo_load (s_window_cairo *window);
bool window_cairo_demo_render (s_window_cairo *window);
bool window_cairo_demo_resize (s_window_cairo *window, uw w, uw h);
void window_cairo_demo_unload (s_window_cairo *window);
#endif /* LIBKC3_WINDOW_CAIRO_DEMO_H */