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 If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
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. ^^ If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
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 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
tosfera Posted April 24, 2014 Author Posted April 24, 2014 Going to bump this again. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
Moderators IIYAMA Posted April 24, 2014 Moderators Posted April 24, 2014 Can you make a screenshot? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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