| |
|
|
- Page 1 - |
|
| 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
|
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
| |
|
| |
|
|
|
Paul Glatz | |
|
| |
|
|
|
| Have the pkg again updated.
Nachtrag: where, I see strain, the core can itself yet by a long shot improve... |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
| it comes The Error Message const ungekannt..
mfg |
|
|
| |
|
|
|
Paul Glatz | |
|
| |
|
|
|
| |
|
| |
|
|
|
Paul Glatz | where can I The Codes download?? |
|
|
| |
|
|
|
| here, revised Version: [...] |
|
|
| |
|
|
|
Paul Glatz | How can I whom Font adjust? |
|
|
| |
|
|
|
| such Support groin I for not, look Please self.
hint: [...] missing. |
|
|
| |
|
|
|
| @Paul: Have the pkg [...] updated, now z.B. too with oglui.setFont.
Nachtrag: Nochmal updated wg. Bugfix. |
|
|
| |
|
|
|
Paul Glatz | |
|
| |
|
|