Lab4

Dependencies:   SeeedStudioTFTv2 TFT_fonts mbed

Fork of Seeed_TFT_Touch_Shield by Shields

Revision:
6:ebffa73d4f95
Parent:
4:ebcf8d366b91
diff -r b33fc1aa8d33 -r ebffa73d4f95 Panel.h
--- a/Panel.h	Fri Sep 26 12:42:10 2014 +0000
+++ b/Panel.h	Fri Sep 26 15:33:34 2014 +0000
@@ -6,6 +6,12 @@
 private: 
     int used_cells ;
     
+    //for panel displays
+    int cursor_x0, cursor_y0;
+    int next_cursor_x0, next_cursor_y0;
+    bool draw_text;
+    char* input_string ;
+    
     void init(int p_color, int bd_color, int r, int c);
     
 public:
@@ -17,5 +23,7 @@
     Panel(int p_color, int bd_color, int w, int h, int r, int c); 
     
     virtual bool addWidget(AbstractWidget *p); 
+    
+    virtual void trigger_action(ActionType type, ActionEvent evnt, void* target);
 
 };
\ No newline at end of file