Search found 17 matches
- Tue Mar 27, 2012 14:32
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create a tooltip,but it didn't show in my app
- Replies: 5
- Views: 6566
Re: i create a tooltip,but it didn't show in my app
Finally i think i find a way to solve this problem.I just modified some sentences of my .looknfeel file in the section of GuiLook/Tooltip.And here is the code <WidgetLook name="GuiLook/Tooltip"> <NamedArea name="TextArea"> <Area> <Dim type="LeftEdge" ><ImageDim imageset...
- Tue Mar 27, 2012 12:06
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create a tooltip,but it didn't show in my app
- Replies: 5
- Views: 6566
Re: i create a tooltip,but it didn't show in my app
In my initialiseSample() method,i try to set the default tooltip with: CEGUI::System::getSingleton().setDefaultTooltip((CEGUI::utf8*)"GuiLook/Tooltip"); And then load the .layout System::getSingleton().setGUISheet(CEGUI::WindowManager::getSingleton().loadWindowLayout("FontDemo.layout&...
- Tue Mar 27, 2012 11:58
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create a tooltip,but it didn't show in my app
- Replies: 5
- Views: 6566
Re: i create a tooltip,but it didn't show in my app
Hi, I'm wondering if you're blind or simply a moron. It's not possible to say you didn't see it, so it must be one of these. And since you're using a visual GUI system, I think we may eliminate blindness. Help us to help you! If you make it difficult to help you, we wont do it. CE. Sorry for my car...
- Tue Mar 27, 2012 07:42
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create a tooltip,but it didn't show in my app
- Replies: 5
- Views: 6566
Re: i create a tooltip,but it didn't show in my app
Sorry for my poor English
- Tue Mar 27, 2012 07:24
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create a tooltip,but it didn't show in my app
- Replies: 5
- Views: 6566
[SOLVED]i create a tooltip,but it didn't show in my app
Hi,recently i was working on the tooltip and i created the .scheme and looknfeel files for my gui.But when i try to use the tooltip i created ,nothing showed when the mouse on the widgets.And i injectTimePulse by calling CEGUI::System::getSingleton().injectTimePulse(evt.timeSinceLastFrame) in functi...
- Mon Mar 26, 2012 14:59
- Forum: Modifications / Integrations / Customisations
- Topic: I begin to create my own inventory,but something strange。。。
- Replies: 2
- Views: 4357
Re: I begin to create my own inventory,but something strange
Here are my .layout <?xml version="1.0" encoding="UTF-8"?> <GUILayout > <Window Type="DefaultWindow" Name="Master" > <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> <Window Type="DefaultWindow" Name="Blo...
- Mon Mar 26, 2012 14:50
- Forum: Modifications / Integrations / Customisations
- Topic: I begin to create my own inventory,but something strange。。。
- Replies: 2
- Views: 4357
I begin to create my own inventory,but something strange。。。
Hi,i try to create the inventory for items.I divided my items in my game into three parts:amours,medicine and fishes(that may be werid).I create Master as the root and set it "DefaultWindow".And ButtomFrame is one of the childwindow of Master which is also set as "DefaultWindow"(...
- Mon Mar 05, 2012 06:35
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
Re: i create the tooltip which can show images and text,but.
Thanks godness.I find the mistake now!It's the function injectMouseButtonUp().The logic in it has some problem and i have corrected it right.Now everything goes well.
- Mon Mar 05, 2012 05:08
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
Re: i create the tooltip which can show images and text,but.
Here are my subscribeEvent(): void MyGUI::subscribeEvent(const CEGUI::String& windowName, const CEGUI::String& eventName, const CEGUI::Event::Subscriber& subscriber) { CEGUI::WindowManager::getSingleton().getWindow(CEGUI::String(windowName))->subscribeEvent(eventName,subscriber); } I put...
- Sun Mar 04, 2012 13:36
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
Re: i create the tooltip which can show images and text,but.
If those container windows have other windows attached to them (like the static images), the static image will receive the mouse click, not the containing window. Depending on your needs it might be enough to set the MousePassThroughEnabled property to True on the static image(s) (of course, depend...
- Sat Mar 03, 2012 18:23
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
Re: i create the tooltip which can show images and text,but.
I find that function onEquip() was not called as planed when i clicked on the window(StaticImage):"Root/left/slot".
- Sat Mar 03, 2012 17:52
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
Re: i create the tooltip which can show images and text,but.
My environment:Ogre 1.7.3 + CEGUI 0.7.5
- Sat Mar 03, 2012 15:38
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]i create the tooltip which can show images and text
- Replies: 6
- Views: 6837
[SOLVED]i create the tooltip which can show images and text
I want to create a tooltip which can show the images and different fonts.But here i met two problems: 1.the content of the tooltip i create cann't work as i wished I create two staticimages(one is Root/left/slot another is Root/righttop/weapon) in my layoutfile unnamed2.layout.Root/left/slot is the ...
- Tue Feb 28, 2012 07:39
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]I want to create the effect of radar scanning
- Replies: 5
- Views: 6284
Re: I want to create the effect of radar scanning,but i fail
Can you confirm that you are injecting time pulses via CEGUI::System::injectTimePulse - as that's one reason why the update might not be called. CE.[/quote] Sorry for my carelessness.Thar's the point.I forget to inject time pulses in frameRenderQueued().Thank you for your answers.The problem was so...
- Tue Feb 28, 2012 05:15
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED]I want to create the effect of radar scanning
- Replies: 5
- Views: 6284
Re: I want to create the effect of radar scanning,but i fail
well, the case might not be the same, but I think this might be of some use or reference. we once created the a round skill cool-down effect like in the WOW, the main work here is also use the RenderEffect; What's different here is we used a directx effect script, i think it might be easier to code...