Skip to content

Commit

Permalink
refactor: move application-specific widgets from lib/gui to top-level…
Browse files Browse the repository at this point in the history
… src and include

Signed-off-by: Aditya Agarwal <[email protected]>
  • Loading branch information
Aditya-A-garwal committed Mar 27, 2024
1 parent 5aa4af7 commit 93bfbca
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#ifndef __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_COLOR_SELECTOR_H__
#define __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_COLOR_SELECTOR_H__

#include "widget.h"
#include "frame.h"
#include "widgets/widget.h"
#include "widgets/frame.h"

/**
* @brief Class that implements a widget which is used to create a grid of colors to pick from from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
#ifndef __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_DRAWABLE_CANVAS_H__
#define __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_DRAWABLE_CANVAS_H__

#include "widget.h"
#include "frame.h"
#include "widgets/widget.h"
#include "widgets/frame.h"

#include "WiFiS3.h"
#include "cstring"

class WiFiClient;

/**
* @brief Class that provides a canvas to draw on
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#ifndef __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_PEN_SIZE_SELECTOR_H__
#define __ARDUINO_WIFI_TFT_LCD_CANVAS_APP_WIDGETS_PEN_SIZE_SELECTOR_H__

#include "widget.h"
#include "frame.h"
#include "widgets/widget.h"
#include "widgets/frame.h"

/**
* @brief Class that implements a widget which is used to create row of pen-sizes to pick from from
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file button.cpp
* @file drawablecanvas.cpp
* @author Aditya Agarwal ([email protected])
* @brief This file implements the methods of the `Button` class
* @brief This file implements the methods of the `DrawableCanvas` class
*
*/

Expand Down
File renamed without changes.

0 comments on commit 93bfbca

Please sign in to comment.