Hello everyone,
Normally, when using MultiColumnList, we have:
I want to make a border for all list items in my roomlist to make it looks like:
Any idea how to do that ?
I was trying to find something like setNormalBrushImage, but without any results.
I found only setSelectionBrushImage, but it works for Selected item only.
Regards,
Chris
How to make a border / set image for CEGUI::ListboxItem
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 4
- Joined: Thu Aug 23, 2012 22:22
Re: How to make a border / set image for CEGUI::ListboxItem
my solution : modify the multicolumlist 's Render method draw a image like 1X1 or 2X2 pure colour image { white or specie image }.
collect the item height and width infomation, then draw this picure serval time to make the border.
also you find the other thing the custom window in the columlist is not auto hide or show . if you used custom window maybe you need to modify this in the render method.
it works in my game project { ios , cegui }
collect the item height and width infomation, then draw this picure serval time to make the border.
also you find the other thing the custom window in the columlist is not auto hide or show . if you used custom window maybe you need to modify this in the render method.
it works in my game project { ios , cegui }
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 0 guests