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.

gui/desktop.h

Committer:
sPymbed
Date:
2019-09-11
Revision:
3:351ee68a721d
Parent:
0:97ba3e2cd071

File content as of revision 3:351ee68a721d:


#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