| |
|
|
- Page 1 - |
|
funkheld | Hello, good day. I need please times a graphic-Help for a Armatur with Zeiger. i want following data as Zeigergrafik Show : number1! CompileMarkSeparation {$cleq}
Declare Ende&, SizeOfMem&, hmap&, hMapView&, win&
declare zahl1!,zahl2!,text1&,text2&
'1024 Bytes Speicher
SizeOfMem& = 1024
'Speicherbereich anlegen
hmap& = CreateFileMapping(-1,0,PAGE_READWRITE,0,SizeOfMem&,"MeinSpeicher")
'Zeiger auf Speicherbereich ermitteln
hMapView& = MapViewOfFile(hMap&,$000F001F, 0, 0, 0)
win& = @Create("Window", 0, "Parent", 20, 20, 500,400)
text1&=@Create("Text",win&,"1",20,20,100,20)
text2&=@Create("Text",win&,"2",20,45,100,20)
ende&=1
While Ende&
sleep 5
if isKey(81)
ende&=0
endif
zahl1!=double(long(hMapview&,11))
zahl2!=double(long(hMapview&,16))
settext text1&,str$(@int(zahl1!+0.5))
settext text2&,str$(@int(zahl2!+0.5))
EndWhile
UnmapViewOfFile(hMapView&)
CloseHandle(hMapView&)
End
How can the manage with the the Zeiger and the rounds background, which too with XPSE compiliert go can ?
Thank you.
greeting peter |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
funkheld | au..., to the sees Yes cool from and operates Präzise. this is a marvellous basis to that weiterarbeiten.
Vielen Thanks.
greeting peter |
|
|
| |
|
|
|
| |
|
| |
|
|
|
| with manchen Gradzahlen is the spending the turned Zeigers not so qualitative - so The spending always qualitative is müsstest just whom Zeiger as quadratisches Image take off z.B. with 512x512 Pixeln.
|
|
|
| |
|
|
|
funkheld | Hello, iF, get You the whole too with OGL there ? there can indeed beautiful Rotaten with the Zeiger. only should it in 2D his.
Thank you.
greeting peter |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
| with safety,
have for something like indeed The oglhelper and oglui written: [...]
The question for me means sooner, whether You yourself there einarbeiten would, there this not any more only with "20" Lines abgetan is. What exactly "stört" you on the Bisherigen? Perhaps. can I kompensieren. |
|
|
| |
|
|
|
funkheld | Gefällt me wundebar so.
Bloss I yourself get whom Entry not The Rotate-routine with the Values. find too no Description for. your OGL supra must I me now time reinziehen. sees well from.
Thank you.
greeting peter |
|
|
| |
|
|
|
| well in the XProfan-Help simply ogl prompt, Rotate becomes there imho too well declared.
need hold 3 Floatwerte for x,y,z-turn. |
|
|
| |
|
|
|
| Nachtrag: you mean vlt. The Rotate-routine of obigen Source? then: whom Winkel simply time 1.000 take, w standing for Winkel (180.000 = 180°) and r for radius. |
|
|
| |
|
|
|
funkheld |
your OGL supra must I me now time reinziehen. sees well from.
sees optisch wonderful from with OGL, but to the my Own Tachokreation 3 minutes durchlief was the computer again vollgemüllt , leichenstarre and plummeted ex. the old OGL-trouble. the one the most important Grafikprodukte in Profan not runs... pity.
greeting peter |
|
|
| |
|
|
|
| as far as i know works only whom TestMode not reliably with XProfan as well as create("HPIC","&OGLBMP",... -
everything else runs imho right reliably if the driver not so defective is.
Müsstest time code show circa einzuschätzen. |
|
|
| |
|
|
|
funkheld | Hello, IF, this is The old Layer with the OGL. The Error is not yet fixed in XProfan. watts already zigmal here described.
....if the driver not so defective is.... you mean sure whom driver in XProfan ?
otherwise under Purebasic happens not with the OGL and Freebasic neither. we should whom Error not always into Computersystem schieben. its correct one Bug in the Profansystem. we turn us here in the circle.
greeting peter |
|
|
| |
|
|
|
| Since I me not deliberate turn The demand, whom Error very you mean, too so I it at least for me mind can. |
|
|
| |
|
|