*** tpb has joined #freeorion | 00:00 | |
CIA-32 | FreeOrion: eleazzaar * r4596 /trunk/FreeOrion/default/eng_stringtable.txt: fixed broken Juggernaut hull string. | 00:13 |
---|---|---|
*** bookwar has joined #freeorion | 00:45 | |
*** StrangerDanger has joined #freeorion | 00:59 | |
bookwar | hi, everyone | 01:44 |
bookwar | has anybody tried to compile freeorion with gcc-4.7.0 ? | 01:44 |
fixIt | I can't say I have myself, sorry, I am using Visual Studio currently. You should try the forums though if no one else answers, you'll most likely be able to find an answer there | 02:37 |
fixIt | Geoff, I have a quick question regarding GG::Connect(). Is this the right method that I should be using to create my modal window when a Configure Hot Key button is pressed? So far I have made a button HotKeyModalWndButton, which I am trying to connect like so: GG::Connect(button->ClickedSignal, &ConfigureHotKeyModalWnd::METHODNAME); with no success | 02:39 |
fixIt | I have tried a few different varations and I guess even after looking at GG::Connect definition I just don't fully understand the correct way to do this | 02:40 |
GeofftheMedio | what is METHODNAME ? | 02:40 |
fixIt | The Method METHODNAME() takes no arguments and returns void | 02:40 |
fixIt | just a random method that will contstruct my modal window | 02:41 |
GeofftheMedio | is it static? | 02:41 |
fixIt | I have tried using ConfigureHotKeyModalWnd's constructor and then methodname was just an attempt to see if it just didn't like using a ctor | 02:41 |
fixIt | No, shoot is that all I need? | 02:42 |
GeofftheMedio | no, I don't think you're setting things up right, but I can't tell what you're trying to do... | 02:42 |
GeofftheMedio | look how other modal wnds are created and used | 02:42 |
GeofftheMedio | and do the same | 02:42 |
fixIt | Well I've got the creation of the window, my issue is with hooking up the button to create the window when pressed. I guess because where I'm creating the button OptionsWnd and the function I am hooking it up to are in different classes? | 02:44 |
fixIt | Guess I'll take a look at other ones though and see if static helps | 02:44 |
GeofftheMedio | I think you need a function that is called in response to the button press, probably set up within your option widget creation code | 02:45 |
GeofftheMedio | this function would run the dialog and process the result | 02:45 |
fixIt | Ah okay so this function would be within OptionsWnd then right. Would there be any point to me having a separate class for the modal wnd within the cpp, now that I think of it I could just create a GG::Wnd within the method right? | 02:47 |
*** Digit01 has quit IRC | 02:47 | |
GeofftheMedio | you'd probably still need a class for the modal wnd... how else will it know how to act when run? | 02:47 |
fixIt | ah true good point, thank you | 02:49 |
*** STalKer-X has joined #freeorion | 04:27 | |
CIA-32 | FreeOrion: geoffthemedio * r4597 /trunk/FreeOrion/ (3 files in 3 dirs): | 04:29 |
CIA-32 | FreeOrion: -Added empire and ship design variables to some sitrep messages. | 04:29 |
CIA-32 | FreeOrion: -Tweaked Windows installer script. | 04:29 |
*** STalKer-Y has quit IRC | 04:30 | |
*** _Maru_ has quit IRC | 06:42 | |
*** _Maru_ has joined #freeorion | 07:20 | |
*** StrangerDanger has quit IRC | 09:53 | |
*** VargaD has joined #freeorion | 11:00 | |
*** bookwar has quit IRC | 11:36 | |
*** bookwar has joined #freeorion | 11:43 | |
*** dansan has quit IRC | 12:13 | |
*** StrangerDanger has joined #freeorion | 12:32 | |
*** StrangerDanger has quit IRC | 12:37 | |
*** StrangerDanger has joined #freeorion | 12:45 | |
*** wolfet has joined #freeorion | 14:35 | |
wolfet | hi all | 14:35 |
wolfet | anyone here? | 14:35 |
wolfet | geoff? | 14:42 |
*** wolfet has quit IRC | 14:49 | |
*** theTroy has quit IRC | 14:51 | |
*** theTroy has joined #freeorion | 14:53 | |
*** theTroy1 has joined #freeorion | 14:54 | |
*** theTroy has quit IRC | 14:57 | |
*** theTroy1 has quit IRC | 14:57 | |
*** theTroy has joined #freeorion | 14:58 | |
*** bookwar has quit IRC | 15:38 | |
*** bookwar has joined #freeorion | 15:57 | |
*** dansan has joined #freeorion | 17:00 | |
*** Digit01 has joined #freeorion | 17:13 | |
*** GeofftheMedio has quit IRC | 18:28 | |
*** GeofftheMedio has joined #freeorion | 18:29 | |
*** JohnSGalt has joined #freeorion | 19:22 | |
*** bookwar has quit IRC | 19:41 | |
*** JohnSGalt has quit IRC | 20:18 | |
*** bookwar has joined #freeorion | 20:18 | |
*** bookwar has quit IRC | 20:32 | |
*** STalKer-X has quit IRC | 20:47 | |
*** STalKer-X has joined #freeorion | 20:49 | |
*** StrangerDanger has quit IRC | 21:49 | |
CIA-32 | FreeOrion: geoffthemedio * r4598 /trunk/FreeOrion/ (UI/FleetWnd.cpp util/Order.cpp): Disabled some fleet merges and transfer when not in a system. | 22:41 |
*** VargaD has quit IRC | 23:59 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!