summaryrefslogtreecommitdiff
path: root/Master/perltl/site/lib/auto/Tk/Wm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-01-06 17:27:49 +0000
committerNorbert Preining <preining@logic.at>2008-01-06 17:27:49 +0000
commitb6d71a48c3eb427a60bc1c9b4b8e3f16b695bf66 (patch)
tree374beef8c61dd2f05dc36686cd5f63c393ca1f9c /Master/perltl/site/lib/auto/Tk/Wm
parent7112ae868388a986572aec9c821f1971b2156351 (diff)
big perl removal, all the bin-perl related stuff is gone:
- Master/perltl the perl library - bin/win32/perl,tk the bin/dll - the bin-perl.tlpsrc - collection-perl.tlpsrc (where did this come from) - collection-perl removed from collection-wintools git-svn-id: svn://tug.org/texlive/trunk@6062 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/perltl/site/lib/auto/Tk/Wm')
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/AnchorAdjust.al17
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/FullScreen.al29
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/Popup.al45
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/Post.al20
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/autosplit.ix14
-rw-r--r--Master/perltl/site/lib/auto/Tk/Wm/iconposition.al24
6 files changed, 0 insertions, 149 deletions
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/AnchorAdjust.al b/Master/perltl/site/lib/auto/Tk/Wm/AnchorAdjust.al
deleted file mode 100644
index a699cee6920..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/AnchorAdjust.al
+++ /dev/null
@@ -1,17 +0,0 @@
-# NOTE: Derived from blib\lib\Tk/Wm.pm.
-# Changes made here will be lost when autosplit is run again.
-# See AutoSplit.pm.
-package Tk::Wm;
-
-#line 84 "blib\lib\Tk/Wm.pm (autosplit into blib\lib\auto\Tk\Wm\AnchorAdjust.al)"
-sub AnchorAdjust
-{
- my ($anchor,$X,$Y,$w,$h) = @_;
- $anchor = 'c' unless (defined $anchor);
- $Y += ($anchor =~ /s/) ? $h : ($anchor =~ /n/) ? 0 : $h/2;
- $X += ($anchor =~ /e/) ? $w : ($anchor =~ /w/) ? 0 : $w/2;
- return ($X,$Y);
-}
-
-# end of Tk::Wm::AnchorAdjust
-1;
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/FullScreen.al b/Master/perltl/site/lib/auto/Tk/Wm/FullScreen.al
deleted file mode 100644
index 83ab7a3241c..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/FullScreen.al
+++ /dev/null
@@ -1,29 +0,0 @@
-# NOTE: Derived from blib\lib\Tk/Wm.pm.
-# Changes made here will be lost when autosplit is run again.
-# See AutoSplit.pm.
-package Tk::Wm;
-
-#line 130 "blib\lib\Tk/Wm.pm (autosplit into blib\lib\auto\Tk\Wm\FullScreen.al)"
-sub FullScreen
-{
- my $w = shift;
- my $over = (@_) ? shift : 0;
- my $width = $w->screenwidth;
- my $height = $w->screenheight;
- $w->GeometryRequest($width,$height);
- $w->overrideredirect($over & 1);
- $w->Post(0,0);
- $w->update;
- if ($over & 2)
- {
- my $x = $w->rootx;
- my $y = $w->rooty;
- $width -= 2*$x;
- $height -= $x + $y;
- $w->GeometryRequest($width,$height);
- $w->update;
- }
-}
-
-# end of Tk::Wm::FullScreen
-1;
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/Popup.al b/Master/perltl/site/lib/auto/Tk/Wm/Popup.al
deleted file mode 100644
index 59a6f496d53..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/Popup.al
+++ /dev/null
@@ -1,45 +0,0 @@
-# NOTE: Derived from blib\lib\Tk/Wm.pm.
-# Changes made here will be lost when autosplit is run again.
-# See AutoSplit.pm.
-package Tk::Wm;
-
-#line 93 "blib\lib\Tk/Wm.pm (autosplit into blib\lib\auto\Tk\Wm\Popup.al)"
-sub Popup
-{
- my $w = shift;
- $w->configure(@_) if @_;
- $w->idletasks;
- my ($mw,$mh) = ($w->reqwidth,$w->reqheight);
- my ($rx,$ry,$rw,$rh) = (0,0,0,0);
- my $base = $w->cget('-popover');
- my $outside = 0;
- if (defined $base)
- {
- if ($base eq 'cursor')
- {
- ($rx,$ry) = $w->pointerxy;
- }
- else
- {
- $rx = $base->rootx;
- $ry = $base->rooty;
- $rw = $base->Width;
- $rh = $base->Height;
- }
- }
- else
- {
- my $sc = ($w->parent) ? $w->parent->toplevel : $w;
- $rx = -$sc->vrootx;
- $ry = -$sc->vrooty;
- $rw = $w->screenwidth;
- $rh = $w->screenheight;
- }
- my ($X,$Y) = AnchorAdjust($w->cget('-overanchor'),$rx,$ry,$rw,$rh);
- ($X,$Y) = AnchorAdjust($w->cget('-popanchor'),$X,$Y,-$mw,-$mh);
- $w->Post($X,$Y);
- $w->waitVisibility;
-}
-
-# end of Tk::Wm::Popup
-1;
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/Post.al b/Master/perltl/site/lib/auto/Tk/Wm/Post.al
deleted file mode 100644
index 277981329b0..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/Post.al
+++ /dev/null
@@ -1,20 +0,0 @@
-# NOTE: Derived from blib\lib\Tk/Wm.pm.
-# Changes made here will be lost when autosplit is run again.
-# See AutoSplit.pm.
-package Tk::Wm;
-
-#line 72 "blib\lib\Tk/Wm.pm (autosplit into blib\lib\auto\Tk\Wm\Post.al)"
-sub Post
-{
- my ($w,$X,$Y) = @_;
- $X = int($X);
- $Y = int($Y);
- $w->positionfrom('user');
- # $w->geometry("+$X+$Y");
- $w->MoveToplevelWindow($X,$Y);
- $w->deiconify;
- $w->raise;
-}
-
-# end of Tk::Wm::Post
-1;
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/autosplit.ix b/Master/perltl/site/lib/auto/Tk/Wm/autosplit.ix
deleted file mode 100644
index 54b764985de..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/autosplit.ix
+++ /dev/null
@@ -1,14 +0,0 @@
-# Index created by AutoSplit for blib\lib\Tk/Wm.pm
-# (file acts as timestamp)
-package Tk::Wm;
-sub Post
-;
-sub AnchorAdjust
-;
-sub Popup
-;
-sub FullScreen
-;
-sub iconposition
-;
-1;
diff --git a/Master/perltl/site/lib/auto/Tk/Wm/iconposition.al b/Master/perltl/site/lib/auto/Tk/Wm/iconposition.al
deleted file mode 100644
index 6a5b0ec92d8..00000000000
--- a/Master/perltl/site/lib/auto/Tk/Wm/iconposition.al
+++ /dev/null
@@ -1,24 +0,0 @@
-# NOTE: Derived from blib\lib\Tk/Wm.pm.
-# Changes made here will be lost when autosplit is run again.
-# See AutoSplit.pm.
-package Tk::Wm;
-
-#line 151 "blib\lib\Tk/Wm.pm (autosplit into blib\lib\auto\Tk\Wm\iconposition.al)"
-sub iconposition
-{
- my $w = shift;
- if (@_ == 1)
- {
- return $w->wm('iconposition',$1,$2) if $_[0] =~ /^(\d+),(\d+)$/;
- if ($_[0] =~ /^([+-])(\d+)([+-])(\d+)$/)
- {
- my $x = ($1 eq '-') ? $w->screenwidth-$2 : $2;
- my $y = ($3 eq '-') ? $w->screenheight-$4 : $4;
- return $w->wm('iconposition',$x,$y);
- }
- }
- $w->wm('iconposition',@_);
-}
-
-1;
-# end of Tk::Wm::iconposition