declblock {\#include <string>} {open public after {\#include <vector>}
} {}
-class SimpleTable {: {public Fl_Table_Row}
+class SimpleTable {open : {public Fl_Table_Row}
} {
- Function {draw_cell(TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0)} {return_type void
+ Function {draw_cell(TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0)} {open return_type void
} {
code {static char s[40];
switch ( context ) {
DrawHeader(s,X,Y,W,H);
return;
case CONTEXT_ROW_HEADER: // Draw row headers
- sprintf(s,"%02d:",R+1); // "001:", "002:", etc
+ sprintf(s,"%02d:",R); // "001:", "002:", etc
DrawHeader(s,X,Y,W,H);
return;
case CONTEXT_CELL: // Draw data in cells
}
}
-class ViewFluid {open
-} {
- Function {ViewFluid()} {open protected
+class ViewFluid {} {
+ Function {ViewFluid()} {protected
} {
Fl_Window win_exmpl {
- label Example open selected
- protected xywh {729 313 500 300} type Double box GTK_DOWN_BOX hotspot size_range {585 555 0 0} visible
+ label Example open
+ protected xywh {728 312 500 300} type Double box GTK_DOWN_BOX hide hotspot size_range {585 555 0 0}
} {
Fl_Button btn_exception {
label {Throw Exception}