*/}}

la_5.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * LaGUI: A graphical application framework.
  3. * Copyright (C) 2022-2023 Wu Yiming
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. #define _BSD_SOURCE 1
  20. #define _SVID_SOURCE 1
  21. #define BYTE uint8_t
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. #include "la_util.h"
  26. #include "la_interface.h"
  27. #include "la_data.h"
  28. //#include "la_icon.h"
  29. #include "la_tns.h"
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #include "math.h"
  34. //#include "LA_AV.h"
  35. //#include <direct.h>
  36. //#include <io.h>
  37. #include <stddef.h> //offsetof
  38. #include <stdio.h>
  39. #ifdef __linux__
  40. #include <unistd.h>
  41. #include <dirent.h>
  42. #endif
  43. #include <locale.h>
  44. #include <sys/stat.h>
  45. #include <time.h>
  46. #define NANOVG_GL3
  47. #include "nanovg.h"
  48. #include "nanovg_gl.h"