Search found 8 matches
- Tue Jan 24, 2012 11:49
- Forum: Help
- Topic: MultiColumnList Keyboard Scroll
- Replies: 4
- Views: 2649
Re: MultiColumnList Keyboard Scroll
A couple of the other list types have an 'ensureItemIsVisible' function, but the MCL does not for some reason - that might have been useful for you, though I'm not 100% clear on what you wanted to do. Currently keyboard support of any kind is not well provisioned. CE. ensureItemIsVisible is exactly...
- Fri Jan 20, 2012 23:19
- Forum: Help
- Topic: MultiColumnList Keyboard Scroll
- Replies: 4
- Views: 2649
Re: MultiColumnList Keyboard Scroll
i'm assuming silence means: nobody did something like this
i gave up on the idea. for now.
i'll just scroll list for a fixed amount every time up or down key pressed.
i gave up on the idea. for now.
i'll just scroll list for a fixed amount every time up or down key pressed.
Code: Select all
CEGUI::Scrollbar *s = bag->getVertScrollbar();
s->setScrollPosition(s->getScrollPosition()-10);
- Fri Jan 13, 2012 16:16
- Forum: Help
- Topic: MultiColumnList Keyboard Scroll
- Replies: 4
- Views: 2649
MultiColumnList Keyboard Scroll
hi, i have implemented keyboard item scroll like this const CEGUI::KeyEventArgs& key = static_cast<const CEGUI::KeyEventArgs&>(arg); if (key.scancode == CEGUI::Key::ArrowUp) { CEGUI::ListboxItem *selecteditem = bag->getFirstSelectedItem(); if(selecteditem == NULL) return false; CEGUI::MCLGri...
- Sat Dec 31, 2011 03:01
- Forum: Help
- Topic: Verbatim Hello World Code Crashes
- Replies: 4
- Views: 4729
Re: Verbatim Hello World Code Crashes
my bet: that code is outdated. here is what i am doing in 0.7.5 and ogre 1.7 mGuiRender = &CEGUI::OgreRenderer::bootstrapSystem(); CEGUI::Imageset::setDefaultResourceGroup("Imagesets"); CEGUI::Font::setDefaultResourceGroup("Fonts"); CEGUI::Scheme::setDefaultResourceGroup(&quo...
- Fri Dec 30, 2011 16:47
- Forum: Help
- Topic: [SOLVED] Userdata is lost after removeRow (MultiColumnList)
- Replies: 1
- Views: 1479
- Fri Dec 30, 2011 14:43
- Forum: Help
- Topic: I want to make circle Image
- Replies: 13
- Views: 13717
Re: I want to make circle Image
if you are trying to create an 32bit image (RGB and alpha) use libPng. then load created image to cegui.
creating image pixel by pixel is not cegui's job.
check http://libpng.org/pub/png/libpng.html
creating image pixel by pixel is not cegui's job.
check http://libpng.org/pub/png/libpng.html
- Thu Dec 29, 2011 20:31
- Forum: Help
- Topic: [SOLVED] Userdata is lost after removeRow (MultiColumnList)
- Replies: 1
- Views: 1479
[SOLVED] Userdata is lost after removeRow (MultiColumnList)
Hi, after I call removeRow only once on a single row like this; for(uint j=0; j < bag->getRowCount(); ++j) { CEGUI::ListboxItem *listitem = bag->getItemAtGridReference(CEGUI::MCLGridRef(j,0)); if(listitem->getUserData() == static_cast<void*>(item)) { bag->removeRow(j); break; } } every listitems use...
- Sun Nov 20, 2011 18:22
- Forum: Help
- Topic: MultiColumnList double click on empty space
- Replies: 1
- Views: 1390
MultiColumnList double click on empty space
Hi,
I want double click to work only on items in the list. Since list items are not windows i cant get their location.
Do you know how to accomplish this?
thanks.
I want double click to work only on items in the list. Since list items are not windows i cant get their location.
Do you know how to accomplish this?
thanks.