Operating System
Dependencies: UnitTest wolfssh mDNS wolfcrypt wolfSSL
This is an embedded operating system for K64F. It includes a ssh server, a web-server and mDNS server. It has POST on boot. The main purpose of the OS is a router for the thing network.
drivers/vga.h
- Committer:
- sPymbed
- Date:
- 2019-11-26
- Revision:
- 10:38b716b7534f
- Parent:
- 3:351ee68a721d
File content as of revision 10:38b716b7534f:
#ifndef __MYOS__DRIVERS__VGA_H #define __MYOS__DRIVERS__VGA_H namespace myos { namespace drivers { class VideoGraphicsArray { protected: virtual uint8_t GetColorIndex(uint8_t r, uint8_t g, uint8_t b); public: VideoGraphicsArray(); ~VideoGraphicsArray(); virtual bool SupportsMode(uint32_t width, uint32_t height, uint32_t colordepth); virtual bool SetMode(uint32_t width, uint32_t height, uint32_t colordepth); virtual void PutPixel(int32_t x, int32_t y, uint8_t r, uint8_t g, uint8_t b); virtual void PutPixel(int32_t x, int32_t y, uint8_t colorIndex); virtual void FillRectangle(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint8_t r, uint8_t g, uint8_t b); }; } } #endif