English
Forum

round Armatur for Datenanzeige.

 
- 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
 
02/28/13  
 



 
- 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
 
03/02/13  
 



gladly happen!
 
03/02/13  
 



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.


17 kB
Hochgeladen:03/02/13
Downloadcounter158
Download
 
03/02/13  
 




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
 
03/05/13  
 



 
- 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.
 
03/05/13  
 




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
 
03/05/13  
 



well in the XProfan-Help simply ogl prompt, Rotate becomes there imho too well declared.

need hold 3 Floatwerte for x,y,z-turn.
 
03/05/13  
 



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.
 
03/05/13  
 




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
 
03/06/13  
 



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.
 
03/06/13  
 




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
 
03/06/13  
 



Since I me not deliberate turn The demand, whom Error very you mean,
too so I it at least for me mind can.
 
03/06/13  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

17.795 Views

Untitledvor 0 min.
Gast.081508/19/24
Michael Hettner08/27/21
Peter Max Müller11/13/17
H.Brill02/15/15
More...

Themeninformationen

this Topic has 2 subscriber:

iF (11x)
funkheld (9x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie