| |
|
|
- Page 1 - |
|
| { ... } = gui.* ( ...
The Funktionsgruppe gui bid functions for grafically Benutzeroberfläche.
Keywords: Controls, Buttons, input |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
HofK | straight on it punched - Text of Controls Change?
var erg_txt = gui( gui.Text, gridZelle, "Ergebnis" ) // definiert one Textelement gui (gui.Text, erg_txt, "Die area of the circle beträgt" + flaeche) // beschriftet new or pappt whom new Text drüber?
var fl_btn = gui( gui.button, gridZelle, "Kreisfläche", circle ) //definiert a Button gui( gui.button, fl_btn , "Kreisfl....", circle ) // can it so new beschriftet go? or gives das"Kuddelmuddel"
clear, reference is not yet integrally ready. |
|
|
| |
|
|
|
| simply:
gui gui.Text, lever, Text
setting whom Text the Controls. Buttonänderung by gui gui.button
or. later
gui Text,lever,string gui button,lever,... |
|
|
| |
|
|
|
HofK | iF (09.03.15)
Buttonänderung by ... gui button,lever,...
would be functional soetwas How in JavaScript ---.style.visibility = "hidden"; ---.style.visibility = "visible"; with InfinityProfan machbar?
means not Change, separate with want whom Button hide, so it time in between "außer Gefecht" and invisible is. |
|
|
| |
|
|
|
| Yes, clear, it is possible on one area several Controls to take off and Controls can (naturally) too invisible his and invisible means then too substanzlos in the Contrast To 100% transluzent.
there it awfully many Stilkonstanten gives - if neither integrally so How with CSS - map I a manner interface, with the it possible his should, with the from CSS known terms - or Ähnliche - works to.
so would "gui visibility control false" objectively angeplant, and so I will too something like How borderwidth, bordercolor, as well as textcolor, etc.
it'll but difficult here good Konstantennamen to find in special cut down. but Piece for Piece. |
|
|
| |
|
|
|
| New:
gui(gui.width) gui(gui.height)
give now The sizes the Fensters on. |
|
|
| |
|
|
|
| If too not yet documents, so goes with the function GUI already what - in the principle even Buttons if one for coloured Textflächen uses so How I it here for me already teste for coming Infinity-Profan-Receiver then namens "Infinity-Profan-Bridge".
$alias gray1 rgb 50 50 50
$alias gray2 rgb 90 90 90
var grid=gui.grid gui.hwnd,[1,3]
var grid2=gui.grid [grid,1,3],[3,3]
var grid3=gui.grid [grid2,1,3],[3,1]
var btn
btn.1=gui.myButton [grid2,1,1] "Befehls- Referenz"
btn.2=gui.myButton [grid2,3,1] "IDE Starten"
btn.3=gui.myButton [grid3,1,1] "Drehen"
btn.4=gui.myButton [grid3,3,1] "KeepOn"
btn.5=gui.myButton [grid2,3,3] "Receiver aktivieren"
gui.width [grid2,2] 10
gui.height [grid2,2] 10
gui.width [grid3,2] 10
//
proc gui.myButton parent txt
var h=gui.Text parent txt @gui.mybutton.proc
gui.background h gray1
endproc
proc gui.myButton.proc txtCtrl state
if state==0
gui.background txtCtrl gray2
else
gui.background txtCtrl gray1
endif
endproc
the example is verwirrend, the ploy however integrally simply:
The dritte Parameter of gui.Text as procedure-address:
Grabscht one on such one area then becomes the on eineProc weitergeleitet and the tappt im dunkeln knows 2 Parameter txtCtrl and state:
|
|
|
| |
|
|
|
Micha12334 | since Meet look I today again mere in that Infinity - Gefüge and place solid, that "gui" and More correctly. operates! this is veritable horny. now goes it earnestly on projects! thanks "IF".
Micha12334 Michael |
|
|
| |
|
|
|
HofK | |
|
| |
|
|
|
| Jupp, slow comes momentum mere. |
|
|
| |
|
|
|
HofK | an small gui Spielerei for two thumb
ACHTUNG! already antiquated, the new Version without var and for with global see below.
// gui Spielerei $alias f1 rgb 50 250 50 $alias f2 rgb 0 90 222 $alias f3 rgb 0 0 222 var grid = gui.grid gui.hwnd [1 3] var grid2 = gui.grid [grid 1 3] [3 3] var left = [grid2 1 1] var right = [grid2 3 1] var btn btn.1=gui.something left "Tipp on it - accused lane" btn.2=gui.something right "Touch here" proc gui.something parent txt var h = gui.Text parent txt @nochwas gui.background h f1 gui.textcolor h f3 endproc proc nochwas tCtrl st if st==0 gui.background grid f2 gui.background tCtrl f1 endif if st==1 gui.background grid f1 gui.background tCtrl f2 endif case st==2 : gui.background tCtrl f3 endproc
|
|
|
| |
|
|
|
HofK | have time the gui Dings in the application minimizes.
grd = gui.grid gui.hwnd [5 5] // one gui Dings gui.Test [grd 3 3] "type" // proc gui.Test parent tx // Textcontrol gui.Text parent tx @action endproc proc action tCtrl stat // a action msg.toast "well look time" endproc
less goes hardly - or? Update: new Syntax! var away. |
|
|
| |
|
|
|
| HofK (27.02.2016)
have time the gui Dings in the application minimizes.
less goes hardly - or? Update: new Syntax! var away.
Thanks (new) event.button Perhaps so:
|
|
|
| |
|
|