I have no idea has someone asked any of this before, so I'm asking it anyway.
Firstly: Is there any way to get the inventory items to center and get highlighted edges when pointed in a custom inv? (like the build-in inv)
Secondly: How do I make possible to change the cursor mode while the mouse is on a GUI? I tried a few thing, and it worked fine until I tried changin the mode on the GUI, then in the game view. It locked up the changing, and when i right-clicked on an inv item, it started working again. I tried to fix this, an the inv cliking didn't work anymore. I coluldn't select inv items, instead it changet the cursor mode when I left-clicked on an inv item. Anyone have a clue on how to get the thing working?
The basic idea: The cursor mode could be changed with the RMB, no matter on what the mouse is, and the LMB would do what it normaly does. (run game commands like walk and look, change cursor mode on the corresponding GUI buttons, select inv items etc.)
If anyone can understand that, I hope he/she will help me if he/she can. Thanks in advange, and sorry for the mess. :