Commit graph

12 commits

Author SHA1 Message Date
Thomas Buckley-Houston 093b5ad07e Expands texttop to full size of current terminal 2016-05-21 14:11:25 +09:00
Thomas Buckley-Houston 8acb1bcb96 Just some simple refactoring and tidying up 2016-05-21 12:22:12 +09:00
Thomas Buckley-Houston 653eb6b1d7 Panning working well. This is now very, very usable. Time to tidy up. 2016-05-21 02:01:52 +09:00
Thomas Buckley-Houston 13d9fadf41 Fixed zoom bug by writing some tests. Also moved thigns around a lot. 2016-05-20 23:51:57 +09:00
Thomas Buckley-Houston fa72b1b15b Fixed showstopper bug that crashed stdin_forward when you zoom in then out 2016-05-20 17:30:41 +09:00
Thomas Buckley-Houston b25fefff3c Big milestone. Actually able to browse the web with Firefox :D 2016-05-20 15:14:29 +09:00
Thomas Buckley-Houston 0afecac2dc Actual usable zooming and panning! Still needs work though. 2016-05-20 14:17:58 +09:00
Thomas Buckley-Houston 932a4b3da9 Big change! Using code based on the little-known xzoom program, so no need for XFCE
The big problem with XFCE's zoom was that it follwed the mouse. So there was no way
to have the terminal representation of the desktop map to a smaller segment of the
real desktop without the terminal mouse position being able to exactly 'hover' over
the real mouse position.

The xzoom program is a window that displays a zoom of a portion of the desktop. So
double the width of the desktop and place the xzoom window on the right, but have
it watch only the half of the desktop on the left. What's more xzoom is small and
it's C code is easily incuded in the Golang code so they act as one, even sharing
state such as mouse coords, viewport position, current zoom level, etc.

WIP. Still contains old XFCE zoom code.
2016-05-20 01:52:22 +09:00
Thomas Buckley-Houston c69e7b85e8 Hiptext dimensions. Better zooming. Tests.
Conforming to hiptext dimensions.
Bounding the zoom window so as not to overlap.
Some basic tests.
2016-05-16 00:49:34 +08:00
Thomas Buckley-Houston 073db28792 Switched to using Golang for mapping mouse reporting. 2016-05-08 22:29:49 +03:00
Thomas Buckley-Houston fb6db109f8 Docker build. Very basic zoom scrolling 2016-04-25 17:09:51 +03:00
Thomas Buckley-Houston c27e72bcfa First draft
This is just a scattering of notes and proofs of concepts.
2016-04-23 00:58:05 +03:00