Advertisement
manexd

Untitled

Jan 17th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. void ESP::WaterMark()
  2. {
  3. time_t now = time(0);
  4. char* dt = ctime(&now);
  5.  
  6. int w, h;
  7. g_pEngine->GetScreenSize(w, h);
  8.  
  9. g_pSurface->DrawSetColor(0, 0, 0, 70);
  10. g_pSurface->DrawFilledRect(w - 120 /* Width Left */, 25 /* Height Top */, 210 /* Right Width */ + w - 265 /* Negative Left (Right Side) */, 101 /* Bottom Hight */);
  11.  
  12.  
  13. g_pSurface->DrawSetColor(0, 0, 0, 255);
  14. g_pSurface->DrawOutlinedRect(w - 120 /* Width Left */, 25 /* Height Top */, 210 /* Right Width */ + w - 265 /* Negative Left (Right Side) */, 101 /* Bottom Hight */);
  15.  
  16. g_pSurface->DrawSetColor(255, 8, 127, 255);
  17. g_pSurface->DrawFilledRect(w - 122 /* Width Left */, 36 /* Height Top */, 299 /* Right Width */ + w - 360 /* Negative Left (Right Side) */, 94 /* Bottom Hight */);
  18.  
  19. g_pSurface->DrawSetColor(0, 0, 0, 255);
  20. g_pSurface->DrawFilledRect(w - 122 /* Width Left */, 39 /* Height Top */, 168 /* Right Width */ + w - 229 /* Negative Left (Right Side) */, 95 /* Bottom Hight */);
  21.  
  22. g_pSurface->DrawT(w - 100, 45, Color(255, 8, 127, 255), g::ESP_FONT, false, "S");
  23.  
  24.  
  25. // Date
  26.  
  27. g_pSurface->DrawSetColor(0, 0, 0, 145);
  28. g_pSurface->DrawFilledRect(w - 366 /* Width Left */, 27 /* Height Top */, 36 /* Right Width */ + w - 176 /* Negative Left (Right Side) */, 100 /* Bottom Hight */);
  29.  
  30. g_pSurface->DrawSetColor(0, 0, 0, 255);
  31. g_pSurface->DrawOutlinedRect(w - 366 /* Width Left */, 27 /* Height Top */, 36 /* Right Width */ + w - 176 /* Negative Left (Right Side) */, 100 /* Bottom Hight */);
  32.  
  33. g_pSurface->DrawSetColor(255, 8, 127, 255);
  34. g_pSurface->DrawFilledRect(w - 360 /* Width Left */, 36 /* Height Top */, 265 /* Right Width */ + w - 409 /* Negative Left (Right Side) */, 91 /* Bottom Hight */);
  35.  
  36. g_pSurface->DrawSetColor(0, 0, 0, 255);
  37. g_pSurface->DrawFilledRect(w - 360 /* Width Left */, 39 /* Height Top */, 241 /* Right Width */ + w - 385 /* Negative Left (Right Side) */, 95 /* Bottom Hight */);
  38.  
  39. g_pSurface->DrawT(w - 262, 45, Color(255, 255, 255, 255), g::ESP_FONT, false, "DATE");
  40. g_pSurface->DrawT(w - 326, 61, Color(255, 8, 127, 255), g::ESP_FONT, false, dt);
  41.  
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement