raymondabel Posted September 9, 2018 Posted September 9, 2018 I have 2 screens one over the other here is my lua: +-+-+-+-+-+ _ = function(p) return p; end; name = _('Ikarus'); Description = 'Ikarus' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = screen.aspect; } } LEFT_MFCD = { x = 65; y = 1205; width = 450; height = 450; } RIGHT_MFCD = { x = 1405; y = 1205; width = 450; height = 450; } UIMainView = Viewports.Center +-+-+-+-+ Now Should I add GUI like : +-+-+-+-+-+ _ = function(p) return p; end; name = _('Ikarus'); Description = 'Ikarus' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = screen.aspect; } } GUI = { x = 0; y = 0; width = 1920; height = 1080 } LEFT_MFCD = { x = 65; y = 1205; width = 450; height = 450; } RIGHT_MFCD = { x = 1405; y = 1205; width = 450; height = 450; } UIMainView = GUI +-+-+-+--+ thanks for your help Ray
Recommended Posts