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.

Committer:
sPymbed
Date:
Wed Sep 11 10:41:02 2019 +0000
Revision:
3:351ee68a721d
Parent:
0:97ba3e2cd071
working

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sPymbed 0:97ba3e2cd071 1
sPymbed 0:97ba3e2cd071 2 #ifndef __MYOS__GUI__DESKTOP_H
sPymbed 0:97ba3e2cd071 3 #define __MYOS__GUI__DESKTOP_H
sPymbed 0:97ba3e2cd071 4
sPymbed 0:97ba3e2cd071 5 #include <gui/widget.h>
sPymbed 0:97ba3e2cd071 6 //#include <drivers/mouse.h>
sPymbed 0:97ba3e2cd071 7
sPymbed 0:97ba3e2cd071 8 namespace myos
sPymbed 0:97ba3e2cd071 9 {
sPymbed 0:97ba3e2cd071 10 namespace gui
sPymbed 0:97ba3e2cd071 11 {
sPymbed 0:97ba3e2cd071 12 class Desktop : public CompositeWidget
sPymbed 0:97ba3e2cd071 13 {
sPymbed 0:97ba3e2cd071 14 protected:
sPymbed 0:97ba3e2cd071 15 uint32_t MouseX;
sPymbed 0:97ba3e2cd071 16 uint32_t MouseY;
sPymbed 0:97ba3e2cd071 17
sPymbed 0:97ba3e2cd071 18 public:
sPymbed 0:97ba3e2cd071 19 Desktop(int32_t w, int32_t h,
sPymbed 0:97ba3e2cd071 20 uint8_t r, uint8_t g, uint8_t b);
sPymbed 0:97ba3e2cd071 21 ~Desktop();
sPymbed 0:97ba3e2cd071 22
sPymbed 0:97ba3e2cd071 23 void Draw(common::GraphicsContext* gc);
sPymbed 0:97ba3e2cd071 24
sPymbed 0:97ba3e2cd071 25 //void OnMouseDown(uint8_t button);
sPymbed 0:97ba3e2cd071 26 //void OnMouseUp(uint8_t button);
sPymbed 0:97ba3e2cd071 27 //void OnMouseMove(int x, int y);
sPymbed 0:97ba3e2cd071 28 };
sPymbed 0:97ba3e2cd071 29 }
sPymbed 0:97ba3e2cd071 30 }
sPymbed 0:97ba3e2cd071 31
sPymbed 0:97ba3e2cd071 32
sPymbed 0:97ba3e2cd071 33 #endif