summaryrefslogtreecommitdiff
path: root/src/gui/text_widget.c
AgeCommit message (Collapse)Author
2017-07-22separated video driver in a virtual video driver and a specificAndreas Baumann
VGA video driver
2017-07-22moved color handling to video driver from generic VGA driverAndreas Baumann
2017-07-14removed stddef.h and limits.h (come with the compiler header files)Andreas Baumann
added a stub stdint.h (only sometimes comes with the compiler) added a guide on cross compiling adapted to cross compilation, for now tcc works
2017-07-02simplified some driver manager code around calling virtual driver methodsAndreas Baumann
declared method tables const per class
2017-07-01replaced some strange access to .base.base with casts of the class to the ↵Andreas Baumann
class needed to access the proper vtable
2017-07-01got rid of superflous vtables in GUI class hierarchyAndreas Baumann
2017-07-01fixed get_focus error in widget (called the wrong parent)Andreas Baumann
the text widget reacts to mouse down and key events and appends text to the output buffer so we have text input in GUI mode
2017-07-01added a strlcatAndreas Baumann
2017-06-30text widget has a constant buffer and owns the string to draw nowAndreas Baumann
(passing a const char * from a local stack context is not really a good idea!) added more efficiet draw method for characters in vga driver protected desktop for now against too often redraws (boolean global variable needs_redraw, this is later a soffisticated set-of-areas-to -redraw algorithm)
2017-06-30playing with Z buffering in VGA driverAndreas Baumann
2017-06-25fixed calculation of coordinates in text widgetAndreas Baumann
2017-06-24font is shown as a text widget nowAndreas Baumann
fixed setting of vtable in derived classes still some local to screen coordinate calculation problem in text widget
2017-06-24started to implement a widget showing text, the problem currentlyAndreas Baumann
is the inheritance method in draw is not working correctly