Some help to create a screen ruler.

[email protected] (Michaël Cadilhac)
Newsgroups gmane.comp.window-managers.ion.general
Organization Epita/LRDE
Message-ID <[email protected]>
Hi there !

I'm a lousy programmer when graphical things are concerned ; but heck, I
more than often need to measure the distance between two points on my
screen.  I think it's not worth learning the (huge) basics of Qt just to
be able to make a screen ruler, so I was wondering if there's a simple
way to do that within Ion itself.

The simplest way would probably be to assign a key to "The current
position of the cursor is point A", then upon re-hit "The curr.. point
B" and print the result (|A-B|) somewhere.

Any idea ?  TIA!

-- 
 |   Michaël `Micha' Cadilhac       |  Un certain Blaise Pascal              |
 |   http://michael.cadilhac.name   |    etc... etc...                       |
 |   JID/MSN:                       |  -- Prévert (Les paris stupides)       |
 `----  [email protected]  |                                   -  --'
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)

iD8DBQFHq4KaUJhDmOfFA3URAmblAKCFrzkgrSqyqOJSL6zVYIOCoT8E7ACfR75Y
cr5q2SoK/1q+h/H31NX3heo=
=nUJl
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.