Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.00 KB | None | 0 0
  1. class SR_RscDisplayTest
  2. {
  3.     idd = IDD_DISPLAYTEST;
  4.     movingEnable = 0;
  5.  
  6.     class ControlsBackground
  7.     {
  8.         class BackgroundDisable: ctrlStaticBackgroundDisable
  9.         {
  10.         };
  11.  
  12.         class BackgroundDisableTiles: ctrlStaticBackgroundDisableTiles
  13.         {
  14.         };
  15.  
  16.         class Background: ctrlStaticBackground
  17.         {
  18.             x = CENTER_X - (80 * pixelScale) * GRID_W;
  19.             y = pixelScale - (140 * pixelScale - 2 * 5) * GRID_H;
  20.             w = 80 * GRID_W;
  21.             h = (140 - 5 - 10) * GRID_H;
  22.         };
  23.  
  24.         class BackgroundButtons: ctrlStaticFooter
  25.         {
  26.             x = CENTER_X - (80 * pixelScale) * GRID_W;
  27.             y = pixelScale + (140 * pixelScale - (2 * 5 + 2)) * GRID_H;
  28.             w = 80 * GRID_W;
  29.             h = (5 + 2) * GRID_H;
  30.         };
  31.     };
  32.  
  33.     class Controls
  34.     {
  35.         class Title: ctrlStaticTitle
  36.         {
  37.             idc = 123;
  38.             x = CENTER_X - (80 * pixelScale) * GRID_W;
  39.             y = pixelScale - (140 * pixelScale - 5) * GRID_H;
  40.             w = 80 * GRID_W;
  41.             h = 5 * GRID_H;
  42.             text = "Title";
  43.             moving = 0;
  44.         };
  45.     };
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement