Search found 30 matches

by sjcomp
Tue May 05, 2009 22:51
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Re: Arrows on a image - widget

I found out that if I subscribe to the events from a particular window then I do not have the issues described above. CEGUI::WindowManager::getSingleton().getWindow(MyStaticImageWindowName)->subscribeEvent( CEGUI::Window::EventMouseButtonDown, CEGUI::Event::Subscriber(&CCeguiGUI::WindowClicked, ...
by sjcomp
Tue May 05, 2009 22:36
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Re: Arrows on a image - widget

Thanks CE. I also noticed that when use global subscription to the ButtonDown events, mouse events stop being processed properly for the top windows. For example when I show a window I have to click on it before the buttons on this window show tooltips when mouse hovers over them. If I click on a bu...
by sjcomp
Mon Apr 27, 2009 00:12
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Re: Arrows on a image - widget

When I use CEGUI::Window::EventNamespace then my events for button presses are masked (subscriber to CEGUI::PushButton::EventClicked is not called any more). How can I help that?
by sjcomp
Sun Apr 26, 2009 22:31
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Re: Arrows on a image - widget

Hello, a simple question. How do I trap mouse events over a static image? I would like to capture right and left mouse clicks. Ideally I would like to do it the same way as the subscription to button clicks: CEGUI::GlobalEventSet::getSingleton().subscribeEvent( CEGUI::StaticImage::EventNamespace + &...
by sjcomp
Mon Apr 20, 2009 23:57
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Re: Arrows on a image - widget

Thanks, CE. I thought I have seen a widget that allowed selection of the color by clicking on the color plane in the widget, similar to standard color selection dialogs. I can not find it again. Am I imagining things?

Thanks.
by sjcomp
Mon Apr 20, 2009 01:03
Forum: Modifications / Integrations / Customisations
Topic: Arrows on a image - widget
Replies: 8
Views: 7569

Arrows on a image - widget

Hello, I would like to display an image map with a few arrows on top. I want to move the ends of these arrows with the mouse. Basically I would like to be able to set position and direction of multiple arrows. I can display an image using StaticImage. I can track the mouse presses on the static imag...
by sjcomp
Sat Dec 06, 2008 22:45
Forum: Help
Topic: [SOLVED] tooltip on comboboxes and tabcontrols
Replies: 5
Views: 3603

Thanks, CE. It does work! It's a pity that CELayoutEditor removes them when I save the document. Is there a way to configure the editor?

Thanks a lot for very quick help!
by sjcomp
Sat Dec 06, 2008 17:56
Forum: Bug Reports, Suggestions, Feature Requests
Topic: CELayoutEditor 0.6.2 tooltip bug
Replies: 0
Views: 3780

CELayoutEditor 0.6.2 tooltip bug

Hello,

If I add a tooltip to a window I can not remove it. If I set it blank and move a window (otherwise save button is not available) I get the tooltip back.

Thanks for the good job.
by sjcomp
Sat Dec 06, 2008 17:13
Forum: Help
Topic: [SOLVED] tooltip on comboboxes and tabcontrols
Replies: 5
Views: 3603

Thanks, CE. An easy solution actually :) It works perfectly for comboboxes. But I see that I have a different issue with TabControl. I'd like to assign hints to TabControl buttons, but I have no access to them through my layout. I did assign hints to the tab panes (DefaultWindow), but it simply show...
by sjcomp
Fri Dec 05, 2008 08:21
Forum: Help
Topic: [SOLVED] tooltip on comboboxes and tabcontrols
Replies: 5
Views: 3603

[SOLVED] tooltip on comboboxes and tabcontrols

Hello,

I have tooltips displaying properly for all elements other than comboboxes and tab control buttons. What might be the cause of it? I'm using cegui 0.5.1.

Thanks.
by sjcomp
Tue Oct 21, 2008 23:05
Forum: Help
Topic: Undo/Redo in MultiLineEditBox
Replies: 6
Views: 4493

Thanks Pompei2, I'll have a look at it. I want all these operations to work for a single instance of the editbox at the moment, so getting active widget is not a problem for me. When a person types some text in or selects and deletes text I'd like to be able to undo/redo these changes. How can I kee...
by sjcomp
Sun Oct 19, 2008 13:35
Forum: Help
Topic: Undo/Redo in MultiLineEditBox
Replies: 6
Views: 4493

Undo/Redo in MultiLineEditBox

Hello,

I'm curious if there is a widget that extends functionality of MultiLineEditBox to have undo/redo and maybe copy/paste? And if not, what is the best way to approach this?

Thanks.
by sjcomp
Wed May 14, 2008 09:53
Forum: Help
Topic: TabControl button size
Replies: 8
Views: 5049

Thanks scriptkid, it did the trick!
by sjcomp
Sun May 11, 2008 15:31
Forum: Help
Topic: TabControl button size
Replies: 8
Views: 5049

I did not get a chance to look at any code, but if there is no possibility to specify the tab button height as a UDim value, then this should be filed as a bug. I see in the lookandfeel file that <Child type="Simulator/TabButtonPane" nameSuffix="__auto_TabPane__Buttons"> <Area> ...
by sjcomp
Tue Apr 29, 2008 22:06
Forum: Help
Topic: TabControl button size
Replies: 8
Views: 5049

Actually I found that the only difference between tabcontrol created at a higher resolution is TabHeight value which is larger for a larger resolution and given that it's more than one it's given in pixels. So no matter what the resolution is the actual height of the tab stays the same. If it's ok i...

Go to advanced search