Author Topic: My custom layout for use on a 640x480 31Khz arcade monitor  (Read 7336 times)

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 829
    • View Profile
    • new projects
Re: My custom layout for use on a 640x480 31Khz arcade monitor
« Reply #15 on: March 13, 2016, 07:18:52 AM »
That's great - because I'm planning to use it in my new theme. Zoom will be a great addition.

chrisvg

  • Full Member
  • ***
  • Posts: 78
    • View Profile

MiteWiseacre

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: My custom layout for use on a 640x480 31Khz arcade monitor
« Reply #17 on: March 11, 2019, 02:29:54 PM »
Sorry I know this is old
It seems the snap is sitting at 0,0 for me, the preview shows it more near the centre of the screen
can't find the line in the layout.nut that sets the coords for the snap, can anyone help me?

Edit,
I added this above the set_snap_dimensions function:

snap_shadow.x = 240;
snap_shadow.y = 80;
snap_shadow.width = 400;
snap_shadow.height = 300;

snap.x = snap_shadow.x - 10;
snap.y = snap_shadow.y - 10;
snap.width = snap_shadow.width;
snap.height = snap_shadow.height;
« Last Edit: March 11, 2019, 02:40:27 PM by MiteWiseacre »