The Great Apple
Big Cheese
What I'm trying to do is to get custom mouseover info showing when I mouseover an action button (using the action buttons mod). Now the info is quite easy to do - what I'm having trouble doing is getting the handleInput function in CvMainInterface.py to recognise when the mouse is over the button.
I've done a bit of testing with the function, and it seems that it is only fired when you actually select an item such as the end turn button... which is not when I want it to be fired.
I notice poking through other screens that the handleInput functions on them seem to handle a lot more inputs then the main interface screen - including "LISTBOX_ITEM_SELECTED", "NOTIFY_CURSOR_MOVE_OFF", and "NOTIFY_CURSOR_MOVE_ON", all of which sounds like they might be the ones I want.... but I can't work out how to get by buttons to fire the input when the curser moves on or off in the first place.
Any ideas?
I've done a bit of testing with the function, and it seems that it is only fired when you actually select an item such as the end turn button... which is not when I want it to be fired.
I notice poking through other screens that the handleInput functions on them seem to handle a lot more inputs then the main interface screen - including "LISTBOX_ITEM_SELECTED", "NOTIFY_CURSOR_MOVE_OFF", and "NOTIFY_CURSOR_MOVE_ON", all of which sounds like they might be the ones I want.... but I can't work out how to get by buttons to fire the input when the curser moves on or off in the first place.
Any ideas?