View Single Post
  #2  
Old 10-14-2008, 11:23 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The size depends on the maximum texture size of the OpenGL driver. In the scripted level editor we made it so that we display a drawing panel on top of the scroll control and are updating the drawing panel when the scroll control is scrolled:
- add a fake GuiControl into the scroll control with the size of 2048x512 so that you can scroll the scroll bar
- handle the event MyScroll.onScrolled(scrollx,scrolly,deltax,deltay)
Reply With Quote