English
Functions and Help

§60 - GUI, expenses, draw and colours

 
- Page 1 -


§60 - GUI, expenses, draw and colours

GUI-command, functions and Erläuterungen to Arbeitsweise of Infinity-Profan with Windows and Controls.
 
12/23/14  
 



 
- Page 1 -



H.Brill
thanks for Info.
was yet never so my thing, that too
something like with Profan goes. there graust it me
even as old DOS-Programmer :
CompileMarkSeparation
Cls
Declare String wert
wert = "80"
Def $zahl "5"
Print "10" + 10
Print $zahl + 15
Print wert - 60
Waitkey
a>

there GetControlParas (B Roland Yes intern circa.
would be so did i never so for my programs
use. I stops me there rather on The
Konventionen the Datentypen and use
tappt im dunkeln too accordingly.

likes of course helpful for absolute Beginner his,
but one ought to nevertheless of beginning on whom
right Use with the Datentypen learn.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
01/18/15  
 



AndroidProfan power it something differently,
has imho but too a komplexere Betrachtung the variables because its type must itself constantly Change.

so can You there:

var a="10"
//here's a string
a=5.5
//here float

with print 10+"20"
comes 1020 out,
likewise with print "10"+20,
with print 10+20 naturally 30

so seen wandle I nothing circa separate heave on the kleinstmöglichen type in the Order:

zero
bool
long
float
string
aray

therefore is this too a Fließkommazahl:

print 5+10.5

istgleich 15.5

and this but a Fließkommazahl plus String

print 5+10.5+"test"

istgleich 15.5Test

and this:

5+10.5+"test"+10+3.3

yields:

15.5Test103.3

try means of left to right whom type kleinstmöglich To hold.
 
01/18/15  
 




E.T.

5+10.5+"test"+10+3.3
yields:
15.5Test103.3


and Why not 15.5Test13.3 ??
 
XProfan X2
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
01/18/15  
 




HofK
Test is first string of left, ex there string
 
01/18/15  
 



@E.T: because "test"+10 "test10" yields and "test10"+3.3 yields "test103.3". it would imho not correctly. if I time of left and times of right rechne.
 
01/18/15  
 



I wealth I have me now one tolles concept for Positionierung, order and Order of Controls and the "Bildschirm-Design" dreamup.

my idea: "The Grid", the Raster! (clear, Tron...): one created one Raster-Control with discretionary many Lines and Split and can Raster-Controls against too in Raster-boxes produce and each Raster-cell has a Own "Gravity".

one place itself z.B. one 9it Raster to:

XXX
XXX
XXX

each X standing for a Raster-cell.

want one now one solid the z.B. whom screen Mouse and Sprite divides and supra but 3 Buttons then created one one Raster 1x2 and Raster-cell 1 created one one Raster 3x1 - yields:

XXX
.......
------
.......
.......

The Gravitation einzelner boxes becomes first of all automatically certainly and can also manually modifiziert go. The Gravitation of/ one Raster-cell affects horizontal and Mouse and Sprite from, z.B. LinksOben, MitteOben, RechtsOben, LinksMitte, MitteMitte, RechtsMitte, LinksUnten, MitteUnten, RechtsUnten.

so created one one 3x3 Raster on hwnd and save his lever into Variable mygrid:
CompileMarkSeparation
Hierbei becomes one 3x3 Raster on hwnd created, any Raster-boxes are same big and the Raster has The Size of Parent (hwnd) - filling means whom screen from.

such Raster self are invisible and its Size isn't manually änderbar separate its Size yields itself always from whom Maßen the parents-Raster-cell.

Each single Raster-cell own likewise a handle. so has The first Raster-cell of Raster mygrid the lever mygrid+1, The latest Raster-cell of o.g. Raster has the lever mygrid+9.

now can naturally too in a Raster-cell one further "Unterraster" produce, z.B. one Unterraster in cell 2 produce the self but only 2 Split own:
CompileMarkSeparation
naturally can too The Maße of/ one Rasterzelle self to determine, sees then z.B. so from:
CompileMarkSeparation
setting The wide of Rasterzelle 1 of Raster mygrid on 300 Pixel.

the concept allows me automatic Anpassung too with Bildschirmrotation so the Layout always konsistent remaining and it allows the Programmer one simple create discretionary komplexer Layouts without on each Bildschirmauflösung react To must.

More about write I then with the Funktionserklärung to function gui.
 
01/24/15  
 




HofK
shining me one very praktikabler Ansatz.

iF (24.01.15)
Each single Raster-cell own likewise a handle. so has The first Raster-cell of Raster mygrid the lever mygrid+1, The latest Raster-cell of o.g. Raster has the lever mygrid+9.


with something more Verschachtelungen comes one possible with the Inizes confusion. might one not possible too The Notation mygrid+11, mygrid+12, mygrid+13, mygrid+21, ... , mygrid+33 benefit and intern on 1,... 9 converting?
 
01/24/15  
 



there's a ploy whom I for installed have: as aray-indicated. so can You instead of mygrid+9 too indicate: [mygrid,3] In this case rechnet the system for you The Rasterzellennummer from. (grid+y*yy+x)

have me for this Sonderfall deliberate against [mygrid,2] for position 9 decided (means not 0 beginnend) there these spelling Yes even solely for Übersichtlichkeit virtual is.
 
01/24/15  
 



the crazy with Android is that one The Customcontrols relatively simply (not so tricky How with windows over Subclassing) optisch adjust can, means everything can one Wallpapers own/ Schriftfarbe etc blabla. there I will nice gui(gui.mod,gui.*'s produce can and even shadow are drin etc.
 
01/24/15  
 



 
- Page 2 -



HofK
iF (24.01.15)
... optisch adjust can, means everything can one Wallpapers own/ Schriftfarbe etc blabla. there I will nice gui(gui.mod,gui.*'s produce can ...


I fummele with JavaScript straight on SVG rum. becomes soetwas [...]  ,  [...]  too in AndroidProfan einbindbar his?
 
01/24/15  
 



SVG is nice, be but gedanklich not yet so far.
blanket would I do not No say.
 
01/25/15  
 




HofK
... wished neither drängeln ...  

for a Version AndroidProfan2 {new: Infinity-Profan} must indeed yet something Interessantes aufgehoben go!
 
01/25/15  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.631 Views

Untitledvor 0 min.
Thomas Zielinski09/06/19
maroro08/16/16
AndreasS05/16/16
Boroberto04/22/16
More...

Themeninformationen

this Topic has 4 subscriber:

iF (8x)
HofK (4x)
H.Brill (2x)
E.T. (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