English
Functions and Help

function: gui.image

 
long lever = gui.image ( [ mix parentControl | long Image ] , string fileName [, @proc] )

deference: functions not yet on all older Geräten!

prepares a visible alphakanal-durchlässige 32-bit RGBA Zeichenfläche on the parentControl with the Maßen the Bildes from the Bilddatei fileName (PNG, GIF or JPG) and läd the first Image the Bilddatei fileName on The Zeichenfläche on the too anytime with img-functions drawn go can.

becomes @proc indicated, then go Click-Information on these Proc usher instead of on proc event.

The Size the loaded Bildes can with img.width and img.height determined go, against The Anzeigegröße the Zeichenfläche can with gui.width and gui.height determined go.

Related: img, img.create (not yet available)

Examples:

prepares a Zeichenfläche on gui.hwnd and läd and shows therein the Icon the APP:
gui.image gui.hwnd "../res/appicon.png"

prepares one 3x3 Grid and many cell the Icon the APP:
grid=gui.grid gui.hwnd [3,3]
gui.image [grid,1,2] "../res/appicon.png"
gui.image [grid,3,1] "../res/appicon.png"
gui.image [grid,2,3] "../res/appicon.png"

New Image Zeichenfläche loading:
img=gui.image gui.hwnd "../res/appicon.png"//ever one Load image
gui.image img "../res/anderedatei.png"//new Load image

small Alien-game:
 
04/15/16  
 




Michael
W.
the Nachtarbeiter
 
Alle Sprachen
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/15/16  
 



Schöner thought,

it Yes somehow impliziert, that one then during the day rest.
 
04/15/16  
 




HofK
[OFFTOPIC]
deference: functions not yet on all older Geräten!

Do I my Alttechnik well hotfoot to that Elektronikverschrotter bring, on Samsung Galaxy note 2 (2013) and note 10.1 (2015) runs it not yet.[/OFFTOPIC]
 
04/16/16  
 



iF (15.04.2016)
deference: functions not yet on all older Geräten!



i know now How I it into handle get, must But yet umsetzen. here react The APIs the various. OS different time synchron and times asynchron and so so did i this in a own Thread auslagern will be so one from visibility of their own Program on this place synchron program can.
 
04/20/16  
 




HofK
iF (20.04.2016)
... here react The APIs the various. OS different time synchron and times asynchron ...


now wundert it me not at all More, that many offered Apps on some Geräten cool walk and others User hopping mad are and meckern. These Inkonsistenzen wander itself over The years but too through others Betriebssysteme and Browser.

and iF must it with iP now ausbügeln!
 
04/20/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.120 Views

Untitledvor 0 min.
Micha1233410/03/16
HofK08/17/16
AndreasS05/16/16
Torsten Rümker05/10/16
More...

Themeninformationen

this Topic has 3 subscriber:

iF (3x)
HofK (2x)
Michael W. (1x)


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