Le 10/01/2014 22:28, terco IDE a écrit :
>
>> Le 10/01/2014 16:56, terco IDE a ?crit :
>>> Hi, does anyone has an example on rendering some text in a glArea with (or
>>> without) openGL?
>>>
>>> tnx!
>>>
>>> Saludos
>>> Martin
>>>
>>
>> Look at the PdfPresentation example, it uses a GLArea. And I don't know
>> what you mean by *not* using OpenGL to draw in a GLArea.
>>
>> --
>> Beno?t Minisini
>>
>
> funny, it's the only OpenGL example I can't run: program freezes while
> showing the Openfile dialog.
Indeed, with gb.gtk. But it works with gb.qt4...
> Tried this workaround:
>
> Dialog.Title = ("Select a PDF file")
> Dialog.Filter = ["*.pdf", ("PDF files")]
> 'If Dialog.OpenFile() Then Return ' FREEZES HERE
> 'workaround (its a valid path)
> sPath = User.home &/ "CIRSOC tablas de perfiles.pdf" 'Dialog.Path
> txtPath.Text = sPath
>
> but only shows a rotating cube with the gambas logo.
You must press the SPACE key then.
--
Benoît Minisini
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user