| |
|
|
| ogl2dui.inc demonstration as GamePaket
management the Controls How from windows famous z.B. by create, setText etc., additionally must one The Handles not any more manually give away separate it can How dwelt relating.
yet therein umgesetzte Controls: Window, Text, Edit, Button.
New is then too The explicit höhere performance, through geschicktes Caching go ungeänderte expenses from lists drawn, and and and...
so access then the Template slow a internal standard, on the it itself rewards and on the it simply possible is, further arbitrary Controls produce.
I have too gesteigerten worth hereon laid (Please example here standing), that everything/any Controls with the keyboard bedienbar is/are.
<!---->
Download/ into Cart7,99 € inkl. MwSt. no Shipping fee
{$cleq}
const appTitle="oglUITest"
#include oglhelper.inc
#include oglui.inc
#include cpuusage.inc
#include intimes.inc
oglui.init()
ogl.window(apptitle,1,1024,768,$FF0000,1,false,true)//vollbild
ogl.window(apptitle,0,1024,768,$FFFFFF,1,false,true)//window
long myToolWin=oglui.create(window,oglui.desktop,"Menü",50,50,600,280),
myText1=oglui.create(Text,myToolWin,"Vorname:",0,0,80,20),
myText2=oglui.create(Text,myToolWin,"Nachname:",0,20,80,20),
myEdit1=oglui.create(edit,myToolWin,"",90,0,90,20),
myEdit2=oglui.create(edit,myToolWin,"",90,20,90,20),
myButt1=oglui.create(button,myToolWin,"OK",190,0,120,20),
myButt2=oglui.create(button,myToolWin,"Abbrechen",190,20,120,20),
oglui.setFocus(myEdit1)
do {
ogl.clear
ogl.light
ogl(color,1.3,1.3,1.3,1)
ogl(move,0,0,-3)
ogl(rotate,getTickCount*0.0010,getTickCount*0.0030,getTickCount*0.0020)
ogl(cuboid,1,1,1)
ogl(color,3,3,3,3)
ogl.2dnow
ogl.nolight
oglui.message=oglui.frame()
ogl.show
casenot iskey(1) : waitInput 33
select umessage
caseof wm_close : break
endSelect
select oglui.message
caseof 0
caseof myButt1,myButt2
oglui.destroyWindow(myToolWin)
endSelect
}
ogl.done
end
|
|
|
| |
|
|
|
Paul Glatz | sees very well from! very well!!
where Giebst The Incs The You verwendest?? |
|
|
| |
|
|
|
| On of my Festplatte! |
|
|
| |
|
|
|
Paul Glatz | where kanbn I tappt im dunkeln download or when?
PS: The Community can itself very well with a peg valet. |
|
|
| |
|
|
|
| Do I first one XPSE-Update make before I the Source post can. expect however not To plenty, I Have The UI first yesterday began. |
|
|
| |
|
|
|
Paul Glatz | sees schick from!
can you time an example in the VOllbildmodus or with Resize the Fensters make? |
|
|
| |
|
|
|
| Vollbild power sense, but the Size the Ausgabebereiches becomes to that beginning set. nevertheless would one Skalieren or adjust on The Ausgabegrösse little problematically.
The Inc is however not virtual for Einzellauf, separate optimiert on the installation in Games or. Echtzeitanwendungen (no WaitInput). so use I z.B. The older static Arrays etc.. |
|
|
| |
|
|
|
Paul Glatz | Yes OK trozdem intresannt. perhaps is Yes a Version for Einzelgebrauch possible. |
|
|
| |
|
|
|
| Have you the time zusammengefercht [...] and as Vollbild compiled. |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Paul Glatz | |
|
| |
|
|
|
| Have the pkg again updated.
Nachtrag: where, I see strain, the core can itself yet by a long shot improve... |
|
|
| |
|
|