Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
MainMenuScreen.h
00001 /* 00002 This file is part of Smoothie (http://smoothieware.org/). The motion control part is heavily based on Grbl (https://github.com/simen/grbl). 00003 Smoothie is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 00004 Smoothie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00005 You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>. 00006 */ 00007 00008 #ifndef MAINMENUSCREEN_H 00009 #define MAINMENUSCREEN_H 00010 00011 #include "libs/Kernel.h" 00012 #include "libs/nuts_bolts.h" 00013 #include "libs/utils.h" 00014 #include "libs/Pin.h" 00015 #include "LcdBase.h" 00016 #include "Panel.h" 00017 #include "PanelScreen.h" 00018 #include "WatchScreen.h" 00019 #include "JogScreen.h" 00020 00021 class MainMenuScreen : public PanelScreen { 00022 public: 00023 MainMenuScreen(); 00024 void on_refresh(); 00025 void on_enter(); 00026 void display_menu_line(uint16_t line); 00027 void clicked_menu_entry(uint16_t line); 00028 00029 PanelScreen* watch_screen; 00030 PanelScreen* file_screen; 00031 PanelScreen* jog_screen; 00032 PanelScreen* prepare_screen; 00033 00034 private: 00035 void abort_playing(); 00036 00037 }; 00038 00039 00040 00041 00042 00043 00044 #endif
Generated on Tue Jul 12 2022 20:09:02 by 1.7.2