Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-01 | do not call methods directly on desktop object, the desktop object could | Andreas Baumann | |
be derived, so go over the vtable (keyboard and mouse handlers in kernel.c) | |||
2017-07-01 | replaced some strange access to .base.base with casts of the class to the ↵ | Andreas Baumann | |
class needed to access the proper vtable | |||
2017-07-01 | got rid of superflous vtables in GUI class hierarchy | Andreas Baumann | |
2017-07-01 | fixed 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-01 | tested with pcc, works | Andreas Baumann | |
removed some weird comments in vga_font.h troubling pcc | |||
2017-07-01 | added a preprocessor guard to vga_font.h | Andreas Baumann | |
2017-07-01 | added a strlcat | Andreas Baumann | |
2017-07-01 | restoring VGA text cursor in the right place | Andreas Baumann | |
2017-07-01 | readded -Werror and fixed some cast errors around memcpy | Andreas Baumann | |
2017-06-30 | almost got a complete mode switch (vga graphics back to text) working | Andreas Baumann | |
some cleanup in VGA driver code | |||
2017-06-30 | text widget has a constant buffer and owns the string to draw now | Andreas 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-30 | playing with Z buffering in VGA driver | Andreas Baumann | |
2017-06-30 | added a third widget (for drawing fonts) | Andreas Baumann | |
fixed drawing races due to mouse interrupts | |||
2017-06-30 | added a VGA wait for retrace in graphics mode | Andreas Baumann | |
2017-06-30 | added a window to gui which is draggable by the mouse | Andreas Baumann | |
2017-06-29 | widget should be in kernel data section and not in local scopes of a stack | Andreas Baumann | |
2017-06-26 | nothing working in gui! | Andreas Baumann | |
2017-06-25 | fighting races and corrupted data on clang, funny behaviour on tcc, fine on ↵ | Andreas Baumann | |
gcc in desktop draw | |||
2017-06-25 | small unused variable fix | Andreas Baumann | |
2017-06-25 | we 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-25 | put the mouse object into the global context so we can adjust the | Andreas Baumann | |
resolution when switching video modes | |||
2017-06-25 | fixed calculation of coordinates in text widget | Andreas Baumann | |
2017-06-24 | . | Andreas Baumann | |
2017-06-24 | font is shown as a text widget now | Andreas Baumann | |
fixed setting of vtable in derived classes still some local to screen coordinate calculation problem in text widget | |||
2017-06-24 | started to implement a widget showing text, the problem currently | Andreas Baumann | |
is the inheritance method in draw is not working correctly | |||
2017-06-24 | fixed the console output to VGA text mode to also wipe the rest of a line | Andreas Baumann | |
on newline | |||
2017-06-24 | minor font printing fixes | Andreas Baumann | |
2017-06-24 | printing whole ASCII font in VGA graphics mode | Andreas Baumann | |
2017-06-24 | made VGA graphical font smaller (we only want ASCII for now) | Andreas Baumann | |
some performance improvements in VGA graphics mode | |||
2017-06-24 | started to make some things in graphical VGA driver faster | Andreas Baumann | |
2017-06-21 | started to rewrite to use the main desktop widget | Andreas Baumann | |
2017-06-21 | fixed vtable initialization of desktop | Andreas Baumann | |
2017-06-21 | much nicer calls when passing color constants | Andreas Baumann | |
2017-06-21 | improved VGA colors | Andreas Baumann | |
added basics of a desktop widget class | |||
2017-06-21 | added the widget and the composite widget classes | Andreas Baumann | |
2017-06-18 | added graphic context (stub) | Andreas Baumann | |
2017-06-18 | started the widget framework | Andreas Baumann | |
2017-06-17 | added 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-16 | playing with VGA font distance and characters bei being on the head or mirrored | Andreas Baumann | |
2017-06-16 | switching mode text/graphics, text is distorted | Andreas Baumann | |
2017-06-16 | first character printed in graphics mode | Andreas Baumann | |
2017-06-16 | giving up on getting disk/usb mode to work in boot loader | Andreas Baumann | |
2017-06-16 | added embedded VGA fonts, not so sure about the 8 heads for USB images | Andreas Baumann | |
2017-06-16 | why pop eax, if this contains the return value | Andreas Baumann | |
2017-06-16 | better output where we found/didn't find the magic signature | Andreas Baumann | |
2017-06-16 | paranoia, copy BOOT_DRIVE to every call to read sector | Andreas Baumann | |
2017-06-16 | fixed the stack position to 0x2000, not 0xFFFF in real mode! | Andreas Baumann | |
zeroing all general purpose registers after switching to protected mode | |||
2017-06-16 | added a global kernel data structure, so we don't allocate the | Andreas 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-16 | fixed loading of kernel in stage2 grossing 64k | Andreas Baumann | |
2017-06-16 | added some documentation | Andreas Baumann | |