mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
55_InfoPanel.pm: add movecalculated
git-svn-id: https://svn.fhem.de/fhem/trunk@12114 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d459fcc29f
commit
7d41081084
@ -1119,6 +1119,12 @@ sub btIP_evalLayout {
|
||||
$svg .= btIP_itemLongpoll($id,$x,$y,$text,%params);
|
||||
}
|
||||
|
||||
when("movecalculated") {
|
||||
my ($tox,$toy)= split('[ \t]+', $def, 2);
|
||||
$params{xx} = AnalyzePerlCommand(undef,$tox);
|
||||
$params{yy} = AnalyzePerlCommand(undef,$toy);
|
||||
}
|
||||
|
||||
when("moveby") {
|
||||
my ($byx,$byy) = split('[ \t]+', $def, 2);
|
||||
my ($x,$y)= btIP_xy($byx,$byy,%params);
|
||||
@ -1724,6 +1730,11 @@ Please read <a href="http://forum.fhem.de/index.php/topic,32828.0.html" target="
|
||||
<ul>move most recently x- and y-coordinates by given steps<br/>
|
||||
</ul></li><br/>
|
||||
<br/>
|
||||
<li><code>movecalculated <{perlSpecial x}> <{perlSpecial y}></code><br/>
|
||||
<br/>
|
||||
<ul>calculate x- and y-coordinates by perlSpecials<br/>
|
||||
</ul></li><br/>
|
||||
<br/>
|
||||
<li><code>moveto <x> <y></code><br/>
|
||||
<br/>
|
||||
<ul>move x- and y-coordinates to the given positon<br/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user