[SOLVED]Getting Combobox item under mouse cursor
Posted: Wed Oct 07, 2009 01:11
Hi all!
I'm using CEGUI 0.7 with Ogre 1.6.3.
I have a series of Comboboxes which contain a list of available items. I also have a section in the UI where I want to display detailed information about the item when the player hovers the item with the mouse. I've subscribed to the ComboDropList::EventMouseMove, but can't seem to find a function to get the Item under the mouse cursor. There's a function named getItemAtPoint which seems like it would do what I want, but it's protected. Is there another way to get the item that I'm not seeing or will I need to create a ComboDropList child class to expose this function?
Thanks!
I'm using CEGUI 0.7 with Ogre 1.6.3.
I have a series of Comboboxes which contain a list of available items. I also have a section in the UI where I want to display detailed information about the item when the player hovers the item with the mouse. I've subscribed to the ComboDropList::EventMouseMove, but can't seem to find a function to get the Item under the mouse cursor. There's a function named getItemAtPoint which seems like it would do what I want, but it's protected. Is there another way to get the item that I'm not seeing or will I need to create a ComboDropList child class to expose this function?
Thanks!