summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-07-01do not call methods directly on desktop object, the desktop object couldAndreas Baumann
be derived, so go over the vtable (keyboard and mouse handlers in kernel.c)
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-01tested with pcc, worksAndreas Baumann
removed some weird comments in vga_font.h troubling pcc
2017-07-01added a preprocessor guard to vga_font.hAndreas Baumann
2017-07-01added a strlcatAndreas Baumann
2017-07-01restoring VGA text cursor in the right placeAndreas Baumann
2017-07-01readded -Werror and fixed some cast errors around memcpyAndreas Baumann
2017-06-30almost got a complete mode switch (vga graphics back to text) workingAndreas Baumann
some cleanup in VGA driver code
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-30added a third widget (for drawing fonts)Andreas Baumann
fixed drawing races due to mouse interrupts
2017-06-30added a VGA wait for retrace in graphics modeAndreas Baumann
2017-06-30added a window to gui which is draggable by the mouseAndreas Baumann
2017-06-29widget should be in kernel data section and not in local scopes of a stackAndreas Baumann
2017-06-26nothing working in gui!Andreas Baumann
2017-06-25fighting races and corrupted data on clang, funny behaviour on tcc, fine on ↵Andreas Baumann
gcc in desktop draw
2017-06-25small unused variable fixAndreas Baumann
2017-06-25we have a flickering mouse cursor and terrible redrawing of the desktop now :-)Andreas Baumann
removed the font window for now, far too slow!
2017-06-25put the mouse object into the global context so we can adjust theAndreas Baumann
resolution when switching video modes
2017-06-25fixed calculation of coordinates in text widgetAndreas Baumann
2017-06-24.Andreas 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
2017-06-24fixed the console output to VGA text mode to also wipe the rest of a lineAndreas Baumann
on newline
2017-06-24minor font printing fixesAndreas Baumann
2017-06-24printing whole ASCII font in VGA graphics modeAndreas Baumann
2017-06-24made VGA graphical font smaller (we only want ASCII for now)Andreas Baumann
some performance improvements in VGA graphics mode
2017-06-24started to make some things in graphical VGA driver fasterAndreas Baumann
2017-06-21started to rewrite to use the main desktop widgetAndreas Baumann
2017-06-21fixed vtable initialization of desktopAndreas Baumann
2017-06-21much nicer calls when passing color constantsAndreas Baumann
2017-06-21improved VGA colorsAndreas Baumann
added basics of a desktop widget class
2017-06-21added the widget and the composite widget classesAndreas Baumann
2017-06-18added graphic context (stub)Andreas Baumann
2017-06-18started the widget frameworkAndreas Baumann
2017-06-17added the most complex VGA mode (640x480x4, only timings for now)Andreas Baumann
added graphics and text mode type parameter to vga_mode_t
2017-06-16playing with VGA font distance and characters bei being on the head or mirroredAndreas Baumann
2017-06-16switching mode text/graphics, text is distortedAndreas Baumann
2017-06-16first character printed in graphics modeAndreas Baumann
2017-06-16giving up on getting disk/usb mode to work in boot loaderAndreas Baumann
2017-06-16added embedded VGA fonts, not so sure about the 8 heads for USB imagesAndreas Baumann
2017-06-16why pop eax, if this contains the return valueAndreas Baumann
2017-06-16better output where we found/didn't find the magic signatureAndreas Baumann
2017-06-16paranoia, copy BOOT_DRIVE to every call to read sectorAndreas Baumann
2017-06-16fixed the stack position to 0x2000, not 0xFFFF in real mode!Andreas Baumann
zeroing all general purpose registers after switching to protected mode
2017-06-16added a global kernel data structure, so we don't allocate theAndreas Baumann
basic drivers on the stack of kernel_main added commands 'clear' to clear the screen and 'mode' to switch the mode of the graphics card (for testing)
2017-06-16fixed loading of kernel in stage2 grossing 64kAndreas Baumann
2017-06-16added some documentationAndreas Baumann