Advertisement
Guest User

Untitled

a guest
May 4th, 2022
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. #pragma once
  2. #include <windows.h>
  3. #include <stdio.h>
  4. #include <dwmapi.h>
  5. #include <d2d1.h>
  6. #include <dwrite.h>
  7. #pragma comment(lib, "Dwrite")
  8.  
  9. #pragma comment(lib, "Dwmapi.lib")
  10. #pragma comment(lib, "d2d1.lib")
  11.  
  12. #define _CRT_SECURE_NO_DEPRECATE
  13. #define _CRT_SECURE_NO_WARNINGS
  14.  
  15. class Nvidia
  16. {
  17. public:
  18. auto window_set_style()-> void;
  19. auto window_set_transparency()-> void;
  20. auto window_set_top_most()-> void;
  21. auto retrieve_window()->HWND;
  22. auto window_init()->BOOL;
  23. auto d2d_shutdown()-> void;
  24. auto init_d2d()->BOOL;
  25. auto begin_scene()-> void;
  26. auto end_scene()-> void;
  27. auto clear_scene()-> void;
  28. auto draw_text_white(int x, int y, const char* str, ...)-> void;
  29. auto draw_text_purple(int x, int y, const char* str, ...) -> void;
  30. auto draw_text_blue(int x, int y, const char* str, ...) -> void;
  31. auto draw_text_red(int x, int y, const char* str, ...)-> void;
  32. auto draw_text_green(int x, int y, const char* str, ...)-> void;
  33. auto draw_text_yellow(int x, int y, const char* str, ...) -> void;
  34. auto draw_line(int x, int y, int x2, int y2, float thickness, ...) -> void;
  35. auto clear_screen()-> void;
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement