Re: [Gnoga-list] Text buffer handling.

2015-04-19 Thread Rabbi David Botton
Not a bad idea. I use the same coding style as AdaCore, with the exception that all procedure parameters including "in" parameters are marked as in. the code should of course compile with all the flags uses in the gnoga build. I'll see if I can find some documentation on that ACS someplace. David

Re: [Gnoga-list] Text buffer handling.

2015-04-19 Thread Pascal
Hello David, What do you think of adding coding style rules documentation? Could be useful for contributions. Regards, Pascal. http://blady.pagesperso-orange.fr Le 19 avr. 2015 à 05:49, Rabbi David Botton a écrit : > They look good (not my coding style, but correct :) > > I will start workin

Re: [Gnoga-list] Help with forwarding custom JS events to server

2015-04-19 Thread Olivier Henley
Found it. Needs to emulate the browser ... $('#player_comm_input').attr('value', 'toaster').change(); Olivier On Sun, Apr 19, 2015 at 1:37 PM, Olivier Henley wrote: > Hey! Thank you for the quick answer. > > I tried the following: > > <-- Gnoga side --> > > App.Player_Comm_Form.Create (Parent

Re: [Gnoga-list] Help with forwarding custom JS events to server

2015-04-19 Thread Olivier Henley
Hey! Thank you for the quick answer. I tried the following: <-- Gnoga side --> App.Player_Comm_Form.Create (Parent => App.Player_Area); App.Player_Comm_Input.Create (Form => App.Player_Comm_Form, Value => "nothing",

Re: [Gnoga-list] Hide and Show Window_Type.

2015-04-19 Thread Gautier de Montmollin
In test/jdemo.adb there is a dialog that would fit these kind of needs. I have turned that into Message_Boxes (much like GWindows, with OK, Yes/No, Yes/no/Cancel), still drafty. Le 19.04.2015 09:38, Pascal a écrit : > Hello David, > > Well, linxtris based on GTKAda uses popup window for about, pr

Re: [Gnoga-list] Hide and Show Window_Type.

2015-04-19 Thread Jeremiah Breeden
My own experience: I've had a lot better experience using the jQuery dialogs. Previously I used card views (one view for my application, and many other views for various dialogs), but that was rougher to manage. I had tried just using floating views, but then I needed to figure out how to generi

Re: [Gnoga-list] Hide and Show Window_Type.

2015-04-19 Thread Rabbi David Botton
Display a view and hide a view on same page. Also could use jqueryui dialog. David Botton On Sun, Apr 19, 2015 at 3:38 AM Pascal wrote: > Hello David, > > Well, linxtris based on GTKAda uses popup window for about, preferences > and scores display. > How could I translate them in GNOGA? > > Than

Re: [Gnoga-list] Hide and Show Window_Type.

2015-04-19 Thread Pascal
Hello David, Well, linxtris based on GTKAda uses popup window for about, preferences and scores display. How could I translate them in GNOGA? Thanks, Pascal. http://blady.pagesperso-orange.fr Le 19 avr. 2015 à 05:21, Rabbi David Botton a écrit : > I highly recommend n