Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions esp32/main/menus/about.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __ABOUT_H__
#define __ABOUT_H__
#pragma once

#include "window.h"

Expand All @@ -21,5 +20,3 @@ class AboutWindow: public Window
Button *m_closebutton;
Button *m_firmwarebutton;
};

#endif
2 changes: 2 additions & 0 deletions esp32/main/menus/audiowindow.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "window.h"
#include "slider.h"

Expand Down
2 changes: 2 additions & 0 deletions esp32/main/menus/debugwindow.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "window.h"
#include "slider.h"
#include "debugger.h"
Expand Down
2 changes: 2 additions & 0 deletions esp32/main/menus/loadmenu.h
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#pragma once

void loadmenu__show(void);
2 changes: 2 additions & 0 deletions esp32/main/menus/nmimenu.h
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#pragma once

void nmimenu__show(void);
5 changes: 1 addition & 4 deletions esp32/main/menus/savemenu.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#ifndef __SAVEMENU_H__
#define __SAVEMENU_H__
#pragma once

void savemenu__show(void);

#endif
2 changes: 2 additions & 0 deletions esp32/main/menus/settingsmenu.h
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#pragma once

void settings__show();
2 changes: 2 additions & 0 deletions esp32/main/menus/videomodemenu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "menuwindowindexed.h"


Expand Down
2 changes: 2 additions & 0 deletions esp32/main/menus/wifimenu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "window.h"
#include "hlayout.h"
#include "indexedmenu.h"
Expand Down
7 changes: 1 addition & 6 deletions esp32/main/wsys/bin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_BIN_H__
#define __WSYS_BIN_H__
#pragma once

#include "widgetgroup.h"

Expand All @@ -20,7 +19,3 @@ class Bin: public WidgetGroup

Widget *m_child;
};



#endif
6 changes: 1 addition & 5 deletions esp32/main/wsys/button.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_BUTTON_H__
#define __WSYS_BUTTON_H__
#pragma once

#include "widget.h"
#include <string.h>
Expand All @@ -26,6 +25,3 @@ class Button: public Widget
int m_accel;
Signal<> m_clicked;
};


#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/callbackmenu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "menu.h"

class CallbackMenu: public Menu
Expand Down
2 changes: 2 additions & 0 deletions esp32/main/wsys/charmap.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 2 additions & 0 deletions esp32/main/wsys/chooserdialog.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "dialog.h"
#include <string>
#include <vector>
Expand Down
6 changes: 1 addition & 5 deletions esp32/main/wsys/core.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_CORE_H__
#define __WSYS_CORE_H__
#pragma once

#include <inttypes.h>
#include <stdlib.h>
Expand Down Expand Up @@ -325,6 +324,3 @@ template<typename T>

void wsys__unsubscribesystemevent(int index);
void wsys__propagatesystemevent(const systemevent_t &event);

#endif

5 changes: 1 addition & 4 deletions esp32/main/wsys/dialog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_DIALOG_H__
#define __WSYS_DIALOG_H__
#pragma once

#include "window.h"

Expand All @@ -19,5 +18,3 @@ class Dialog: public Window
//void *m_cbdata;

};

#endif
6 changes: 1 addition & 5 deletions esp32/main/wsys/disasm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_DISASM_H__
#define __WSYS_DISASM_H__
#pragma once

#include "widget.h"
#include <string>
Expand Down Expand Up @@ -29,6 +28,3 @@ class Disasm: public Widget

std::vector<disasm_entry> m_entries;
};


#endif
6 changes: 1 addition & 5 deletions esp32/main/wsys/editbox.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_EDITBOX_H__
#define __WSYS_EDITBOX_H__
#pragma once

#include "widget.h"
#include <string>
Expand All @@ -22,6 +21,3 @@ class EditBox: public Widget
bool m_editable;
Signal<> m_enter;
};


#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/filechooserdialog.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "dialog.h"
#include <string>
#include <vector>
Expand Down
5 changes: 1 addition & 4 deletions esp32/main/wsys/fileentry.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __FILEENTRY_H__
#define __FILEENTRY_H__
#pragma once

#include <string>
#include <vector>
Expand All @@ -16,5 +15,3 @@ struct FileEntry {
};

typedef std::vector<FileEntry> FileEntryList;

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/filefilter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_FILE_FILTER_H__
#define __WSYS_FILE_FILTER_H__
#pragma once

#include <string>
#include <initializer_list>
Expand Down Expand Up @@ -29,5 +28,3 @@ class FileFilter: public FileFilterBase
int m_count; // -1 for no-match, 0 to all-match
const char **m_ext;
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/filelistmenu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_FILELISTMENU_H__
#define __WSYS_FILELISTMENU_H__
#pragma once

#include "indexedmenu.h"
#include "standardfilefilter.h"
Expand Down Expand Up @@ -31,5 +30,3 @@ class FileListMenu: public IndexedMenu
const FileFilter *m_filter;

};

#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/filesavedialog.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "dialog.h"
#include <string>
#include <vector>
Expand Down
5 changes: 1 addition & 4 deletions esp32/main/wsys/fixedlayout.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __FIXEDLAYOUT_H__
#define __FIXEDLAYOUT_H__
#pragma once

#include "multiwidget.h"

Expand All @@ -18,5 +17,3 @@ class FixedLayout: public MultiWidget
uint8_t m_childw[MULTIWIDGET_MAX_CHILDS];
uint8_t m_childh[MULTIWIDGET_MAX_CHILDS];
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/frame.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_FRAME_H__
#define __WSYS_FRAME_H__
#pragma once

#include "bin.h"

Expand All @@ -22,5 +21,3 @@ class Frame: public Bin
uint8_t m_border;
bool m_drawbackground;
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/helpdisplayer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __HELPDISPLAYER_H__
#define __HELPDISPLAYER_H__
#pragma once

class HelpDisplayer
{
Expand Down Expand Up @@ -83,5 +82,3 @@ LOCAL int ICACHEFUN(textComputeLength)(const char *str, const textrendersettings
return 0;
}
#endif // 0
#endif

5 changes: 1 addition & 4 deletions esp32/main/wsys/hlayout.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_HLAYOUT_H__
#define __WSYS_HLAYOUT_H__
#pragma once

#include "layout.h"

Expand All @@ -9,5 +8,3 @@ class HLayout: public Layout
HLayout(Widget *parent=NULL);
virtual void resizeEvent() override;
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/indexedmenu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_INDEXEDMENU_H__
#define __WSYS_INDEXEDMENU_H__
#pragma once

#include "menu.h"
#include "object_signal.h"
Expand All @@ -15,5 +14,3 @@ class IndexedMenu: public Menu
virtual void activateEntry(uint8_t entry) override;
Signal<uint8_t> m_selected;
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/inputdialog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_INPUT_DIALOG_H__
#define __WSYS_INPUT_DIALOG_H__
#pragma once

#include "dialog.h"
#include "label.h"
Expand All @@ -23,5 +22,3 @@ class InputDialog: public Dialog
EditBox *m_edit;
VLayout *m_layout;
};

#endif
6 changes: 1 addition & 5 deletions esp32/main/wsys/label.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_LABEL_H__
#define __WSYS_LABEL_H__
#pragma once

#include "widget.h"
#include <string>
Expand All @@ -23,6 +22,3 @@ class Label: public Widget
uint8_t m_spacing;
uint8_t m_newlines;
};


#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/layout.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __LAYOUT_H__
#define __LAYOUT_H__
#pragma once

#include "multiwidget.h"
#include <vector>
Expand Down Expand Up @@ -33,5 +32,3 @@ class Layout: public MultiWidget
uint8_t m_spacing;
uint8_t m_border;
};

#endif
7 changes: 1 addition & 6 deletions esp32/main/wsys/menu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_MENU_H__
#define __WSYS_MENU_H__
#pragma once

#include "widget.h"
#include <stdlib.h>
Expand Down Expand Up @@ -127,7 +126,3 @@ class Menu: public Widget
//const char **m_helpstrings;
std::function<const char *(uint8_t)> m_helpfun;
};



#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/menuwindow.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "callbackmenu.h"
#include "window.h"

Expand Down
5 changes: 1 addition & 4 deletions esp32/main/wsys/menuwindowindexed.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_MENUWINDOWINDEXED_H__
#define __WSYS_MENUWINDOWINDEXED_H__
#pragma once

#include "indexedmenu.h"
#include "window.h"
Expand All @@ -23,5 +22,3 @@ class MenuWindowIndexed: public Window
private:
IndexedMenu *m_menu;
};

#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/messagebox.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "dialog.h"
#include "vlayout.h"
#include "hlayout.h"
Expand Down
5 changes: 1 addition & 4 deletions esp32/main/wsys/multiwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_MULTIWIDGET_H__
#define __WSYS_MULTIWIDGET_H__
#pragma once

#include "widgetgroup.h"
#include <vector>
Expand Down Expand Up @@ -44,5 +43,3 @@ class MultiWidget: public WidgetGroup
private:
std::vector<Widget*> m_childs;
};

#endif
5 changes: 1 addition & 4 deletions esp32/main/wsys/object_signal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __WSYS_SIGNAL_H__
#define __WSYS_SIGNAL_H__
#pragma once

#include <functional>

Expand All @@ -21,5 +20,3 @@ class Signal
protected:
std::function<void(Arg...)> m_function;
};

#endif
2 changes: 2 additions & 0 deletions esp32/main/wsys/pixel.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "core.h"
#include "tomthumb.h"

Expand Down
Loading