Jump to content

drawSlot not being called


CountNoobula

Recommended Posts

Hey all!

 

Working on creating a little interface with a scrollable list (not having the greatest luck, but getting there), and I have come across a two problems I need some help with.

 

Firstly, the files related are located:

https://github.com/countnoobula/AlchemyTrader/blob/master/src/com/nightfallstudios/alchemytrader/gui/GuiSlotExchange.java

https://github.com/countnoobula/AlchemyTrader/blob/master/src/com/nightfallstudios/alchemytrader/gui/GuiExchangeTable.java

 

My first problem is that the drawSlot function is not being called.

I am not too sure why, I have the drawScreen called, and have the size as 1. Any insight much appreciated?

 

My second problem is that I seem to be failing at aligning it to where I want, whenever I open the GUI, in the background, there is a dark area on the left (the scrollbar background?) and I need it to be shrunk and aligned into the available box here: https://github.com/countnoobula/AlchemyTrader/blob/master/assets/alchemytrader/textures/gui/exchange_table.png

Any advice much appreciated on that aswell!

 

I really hope you guys can help :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.