Search found 220 matches
- Monday 18th March 2019 9:00am
- Forum: General
- Topic: How to draw in a GLArea?
- Replies: 6
- Views: 10225
Re: How to draw in a GLArea?
Hi Quin :) Actually, NeHe is on the Farm. I used that for some insight on the GL code itself. But, it is cool seeing from where it came. Thanks! It seeems when using the GLArea one needs to use .Begin() and .Flush() in addition to the code used in the NeHe app on the Farm. One also needs to be aware...
- Sunday 17th March 2019 8:53pm
- Forum: General
- Topic: How to draw in a GLArea?
- Replies: 6
- Views: 10225
Re: How to draw in a GLArea?
I read some C++ examples and "figured it out". ' Gambas class file Public Sub Form_Open() gl.ClearColor(0.0, 0.0, 0.0, 0.0) gl.Viewport(0, 0, 500, 500) gl.MatrixMode(gl.PROJECTION) gl.LoadIdentity() gl.Ortho(0, 500, 0, 500, 1, -1) gl.MatrixMode(gl.MODELVIEW) End Public Sub GLArea1_Draw() g...
- Sunday 17th March 2019 7:42pm
- Forum: Lounge
- Topic: I created a new subforum
- Replies: 0
- Views: 7711
I created a new subforum
Hi!
I created a new subforum for SDL and OpenGL. I just though that since there's so little information about it around on the internet (in regards to Gambas that is), all the information this forum can produce on the topic deserves to be easily found
I created a new subforum for SDL and OpenGL. I just though that since there's so little information about it around on the internet (in regards to Gambas that is), all the information this forum can produce on the topic deserves to be easily found
- Sunday 17th March 2019 7:40pm
- Forum: General
- Topic: How to draw in a GLArea?
- Replies: 6
- Views: 10225
How to draw in a GLArea?
Hi! Does anyone know how I can draw inside a GLArea ? I tried some GL methods inside the GLArea's Draw event, but the area remains pitch black. The farm has no examples, exept the ones using OpenGL combined with SDL, which is not what I want. DuckDuckGo ( ddg.gg ) leaves me non the wiser as well... ...
- Wednesday 13th March 2019 11:58am
- Forum: General
- Topic: DateTime Error
- Replies: 17
- Views: 18249
- Wednesday 13th March 2019 11:41am
- Forum: General
- Topic: DateTime Error
- Replies: 17
- Views: 18249
Re: DateTime Error
@Cedron .Move() does what you four lines did in one
http://gambaswiki.org/wiki/comp/gb.qt4/control/move
http://gambaswiki.org/wiki/comp/gb.qt4/control/move
- Sunday 10th March 2019 9:31pm
- Forum: Component
- Topic: Install Custom Control - help needed
- Replies: 6
- Views: 9739
Re: Install Custom Control - help needed
I am glad to hear my component is still usefull, even though I haven't touched it in years :) You can of course also just copy over the class file, and use it directly in your project as any other class file. That is the very simplest way to go about it, but you lose the abillity to have it shared a...
- Friday 8th March 2019 4:24pm
- Forum: Lounge
- Topic: Hi everybody!
- Replies: 6
- Views: 10471
Re: Hi everybody!
Hi, and welcome! That, cogier my friend, is only for those who were kids after 1977 to know anything about
- Friday 8th March 2019 4:21pm
- Forum: General
- Topic: The worst insult ever?
- Replies: 5
- Views: 6855
Re: The worst insult ever?
You can also use the "gb-button" to make the code look more nice like this. If the code contains URLs, also tick the "Do not automatically parse URLs", or else the URLs will mess up the code :) theFile = Open "~/test.txt" For Write Create ' Your Home Directory Print #th...
- Sunday 24th February 2019 12:02pm
- Forum: General
- Topic: Reading groups of RadioButtons
- Replies: 4
- Views: 5851
Re: Reading groups of RadioButtons
Ahh, yes! Sorry I meant Group, not Action.