tosfera Posted April 17, 2014 Posted April 17, 2014 Hey guys, It's been a while since I've been at this section so, hey! I'm currently trying to get a scrollbar on this that won't fit on 1 screen. I know I can use the MMB to scroll and change the indexes of rows, but what if I want to move entire gui's? Just asking for a way of thinking. ^^ Thanking you in advance
tosfera Posted April 18, 2014 Author Posted April 18, 2014 ^bumping this, still looking for someone that'll be able to give me a brief description of the way how to create them haha. ^^
Moderators IIYAMA Posted April 18, 2014 Moderators Posted April 18, 2014 I am not sure what your gui looks like, but if moving the gui is a problem. Then you have to calculate the offset. https://wiki.multitheftauto.com/wiki/GuiGetPosition
tosfera Posted April 19, 2014 Author Posted April 19, 2014 I am not sure what your gui looks like, but if moving the gui is a problem. Then you have to calculate the offset. https://wiki.multitheftauto.com/wiki/GuiGetPosition I got a GUI drawn with dxDraw functions, but not everything fits onto these small windows. Making them fit will screw up the entire gui. It would be easier if you could create a scrollbar functional. Whenever you scroll down, the elements should change. But I'm not sure how to cut off the elements inside the rectangle and keep track of the actual position of the scrollbar. I think it'll be a huge ehh.. mindcracking thing to actually do.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now