Commit Graph

40 Commits (mmu_man/docs_env_sh_tweaks)

Author SHA1 Message Date
Michael Drake e1a96ecfe1 Register destruction callback to free text widget text. 11 years ago
Michael Drake fe67bd95d7 There must be a next widget for swap_siblings. 12 years ago
Michael Drake c56560c2ac Suppress most fbtk logging when FBTK_LOGGING is unset. 12 years ago
Michael Drake 5ca6862a87 FONT_SIZE_SCALE is for preserving fractional parts, so use it properly. 12 years ago
Michael Drake 7af0614202 Make delete line key enum value name less missleading. (Doesn't cut to clipboard.) 12 years ago
Michael Drake 5f7a3a7ada Widget can't be NULL. 12 years ago
Michael Drake 84e1bf89d9 Add OSK icon. 13 years ago
Michael Drake 53a379ea45 Squash warning. 13 years ago
Michael Drake 126141a52c Ensure text is at the right height for Freetype and Internal fonts. 13 years ago
Michael Drake b238791002 Use enum instead of magic numbers for tracking key modifier states. Pass special keys to core (e.g. WORD_LEFT, SELECT_ALL, etc). 13 years ago
Michael Drake 46527795db Pass pointer hotspots to libnsfb. 13 years ago
Michael Drake d84ad62a04 Scroll text in writable text widget so caret is always in view. 13 years ago
Michael Drake 465ebb2c7b Only writable text widget needs caret rendering. 13 years ago
Michael Drake 9e3db46b67 Handle CTRL modifier too. CTRL with cursor left/right is same as SHIFT. CTRL+U clears writable. 13 years ago
Michael Drake 21ce8800b8 Cursor left/right keys plus modifier move caret to extrems. 13 years ago
Michael Drake 75cc4a06be Factor out some repeated code. 13 years ago
Michael Drake 53183b2411 Make text input widget remove caret on "strip focus" event. 13 years ago
Michael Drake 72cb5b6ea4 Add widget callback for getting stripped of focus. Call it in the input setter, on previous input holder. 13 years ago
Michael Drake daa47fce52 Use setter when giving clicked input focus. 13 years ago
Michael Drake 2999410af6 When a text input widget has its text set, and it has the caret, move the caret to the end. 13 years ago
Michael Drake 140795500c Claim, position, and render caret in text input widget. Currently does not remove caret when input widget is stripped of focus (because widget doesn't know). 13 years ago
Michael Drake 941a48dabd When setting fbtk caret, register callback for redrawing caret removal. 13 years ago
Michael Drake 4125a8afdf Remove strlen from redraw functions. 13 years ago
Michael Drake 45b9d96678 Add support for editing text input widget contents from arbitrary position in string (instead of just end). 13 years ago
Michael Drake 90b0c48bb2 Split out common code to generate a font style for text input widget. 13 years ago
Michael Drake 8db6d74bcb Add basic awareness of text input caret to ftbk and functions to get/set caret pos. 13 years ago
Michael Drake 41f88e6937 Scrollbar behaviour fixes. 13 years ago
Michael Drake 382c2f2289 Only warp pointer once for a sequence of consecutive move events. Further reduces lag when dragging scrollbar. 13 years ago
Michael Drake 514bee5786 Handle consecutive queued mouse move events together. Reduces pointer lag when busy. 13 years ago
Vincent Sanders 820312eb35 Update for modified libnsfb API 13 years ago
Michael Drake eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends. 14 years ago
Vincent Sanders 06764ea9f0 add control of fbtk text widget padding 14 years ago
John Mark Bell d945884cb1 Fix font sizing in text widget 14 years ago
Vincent Sanders 30a92ed4e6 remove malloc.h anachronism 14 years ago
Vincent Sanders 7a3a96045c fix off by 1 in previous commit 14 years ago
Vincent Sanders 4cf27ef338 Stop cursor leaving the root widget and causing a segfault (Found by tlsa) 14 years ago
Michael Drake 71ea71540a Give the browser window widget input focus by defualt on startup. 14 years ago
Michael Drake 908da609e7 Make click action happen on release. 14 years ago
Vincent Sanders 60fc5bab4f add explicit inlude for varargs 15 years ago
John Mark Bell 5bebf2f2fc Merge branches/vince/netsurf-fbtk-rework to trunk. 15 years ago