View Single Post
Old 08-10-2006, 03:07 PM   #4 (permalink)
zorlac
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

in the touchbuddy.cfg file, near the bottom, is the section that deals with the options for profile scaling:

Quote:

#=====================

# enable/disable profile scaling.
# This enables TouchBuddy to scale all the buttons, images and
# screen positions at initial load time, so that they fit on a
# screen of any size (within reason!). If you enable this option,
# set the native size of your screen below in "screen_resolution".
# NOTE: The scaling only happens once, when you load the profile.
# It will not scale the profile if you resize the window with
# after you have loaded the profile.
profile_scaling = 0

# set the *NATIVE* screen resolution of your screen here
# (Width, Height)
screen_resolution = 640,480

# Tells TouchBuddy to not "squash" the profiles if you have
# profile_scaling enabled
preserve_aspect_ratio = 1

#=====================

Here are some screenshots of it being used on an existing profile for 800x600

Original


scaled to fit 640x480 screen


scaled to fit 320x240 screen (extreme example!)


For those who may get a wide screen TFT, this one is 800x480


See how the profile is being squashed to fit into the widescreen format? Well, if you enable the "preserve_aspect_ratio" option in the touchbuddy.cfg file, TB will not squash the profile... it will resize and its keeps all the buttons the same aspect, but resizes it so there may be some "space" on the right hand side of the window:



in your case you would need to set:

Quote:
screen_resolution = 800,480
and then see if you like the profile scaling option or not.
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline   Reply With Quote