]> git.neil.brown.name Git - scribble.git/log
scribble.git
15 years agoFix breakage of "newline" code. master
Neil Brown [Thu, 28 Aug 2008 11:56:13 +0000 (21:56 +1000)]
Fix breakage of "newline" code.

When a newline is entered we incorrectly disable text entry
by calling text_flush.

15 years agoAuto-select text mode on a tap
Neil Brown [Thu, 28 Aug 2008 11:32:36 +0000 (21:32 +1000)]
Auto-select text mode on a tap

Don't require 'tap', then 'T'.  Just a tap will do.

And when we flush text for any reason, disable text mode,
otherwise we end up over-writing the last text.

15 years agoAutosave
Neil Brown [Thu, 28 Aug 2008 11:32:36 +0000 (21:32 +1000)]
Autosave

Save current page after 20 seconds idle.
This flushes the current text too - it will have to be re-selected.

15 years agoAllowing inserting a line break in the middle of a text
Neil Brown [Thu, 28 Aug 2008 11:32:36 +0000 (21:32 +1000)]
Allowing inserting a line break in the middle of a text

this makes two texts.  They cannot (yet) be joined again.

15 years agoEnable editting of text
Neil Brown [Thu, 28 Aug 2008 11:32:34 +0000 (21:32 +1000)]
Enable editting of text

If you tap in a text, that text becomes current and can
be editted or extended.

15 years agoStore important fontmentrics globally for easier access
Neil Brown [Thu, 28 Aug 2008 10:18:59 +0000 (20:18 +1000)]
Store important fontmentrics globally for easier access

15 years agoEnable renaming of pages.
Neil Brown [Thu, 28 Aug 2008 10:04:42 +0000 (20:04 +1000)]
Enable renaming of pages.

If you click the page name, the current text is used as the name for
the page.

15 years agoHandle 'newline' to start new line of text.
Neil Brown [Wed, 27 Aug 2008 21:10:48 +0000 (07:10 +1000)]
Handle 'newline' to start new line of text.

'newline' is a straigth line: to-right to bottom left.

15 years agoFew fixes for text mode.
Neil Brown [Wed, 27 Aug 2008 20:44:26 +0000 (06:44 +1000)]
Few fixes for text mode.

- Make colour change instant instead of at next update.
- flush text in a few more important places

15 years agoFix detection of position of glyph on screen.
Neil Brown [Wed, 27 Aug 2008 20:30:50 +0000 (06:30 +1000)]
Fix detection of position of glyph on screen.

Using BBox.relpos to find position of glyph on screen didn't work
so well as it is too easy to miss the 'middle' which should be the
easiest to hit.  So modify bbox so that above/below midline are easy
to detect.

15 years agoUse different colour for drawing line that will be converted to text.
Neil Brown [Wed, 27 Aug 2008 20:25:05 +0000 (06:25 +1000)]
Use different colour for drawing line that will be converted to text.

Blue, to be precise.

15 years agoAdd License blurb
Neil Brown [Sun, 24 Aug 2008 10:19:31 +0000 (20:19 +1000)]
Add License blurb

15 years agoAdd Makefile and some sample pages.
Neil Brown [Sun, 24 Aug 2008 09:37:25 +0000 (19:37 +1000)]
Add Makefile and some sample pages.

Preparing for a possible very early release.

15 years agoText entry largely working.
Neil Brown [Sun, 24 Aug 2008 08:56:03 +0000 (18:56 +1000)]
Text entry largely working.

Also a .desktop file.

Note: there are still lots of imprefections with text entry.

15 years agoInitial commit
Neil Brown [Sun, 24 Aug 2008 03:33:58 +0000 (13:33 +1000)]
Initial commit

Just before writing recognition.