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.

Revision:
0:97ba3e2cd071
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gui/desktop.h	Thu Jun 13 13:08:37 2019 +0000
@@ -0,0 +1,33 @@
+
+#ifndef __MYOS__GUI__DESKTOP_H
+#define __MYOS__GUI__DESKTOP_H
+
+#include <gui/widget.h>
+//#include <drivers/mouse.h>
+
+namespace myos
+{
+    namespace gui
+    {
+        class Desktop : public CompositeWidget
+        {
+        protected:
+            uint32_t MouseX;
+            uint32_t MouseY;
+
+        public:
+            Desktop(int32_t w, int32_t h,
+                uint8_t r, uint8_t g, uint8_t b);
+            ~Desktop();
+
+            void Draw(common::GraphicsContext* gc);
+
+            //void OnMouseDown(uint8_t button);
+            //void OnMouseUp(uint8_t button);
+            //void OnMouseMove(int x, int y);
+        };
+    }
+}
+
+
+#endif
\ No newline at end of file