| 1 | #cxx . . $ `<file>/stat/TableEditor.h`/ifndef _TableEditor_h_ |
| 2 | #define _TableEditor_h_cxx . . $ `stat/TableEditor.h:2:9`! |
| 3 | /* TableEditor.h |
| 4 | * |
| 5 | * Copyright (C) 2006,2007,2010-2012,2015-2019,2022,2023 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "ScriptEditor.h"cxx . . $ `<file>/sys/ScriptEditor.h`/ |
| 22 | #include "Table.h"cxx . . $ `<file>/stat/Table.h`/ |
| 23 | |
| 24 | #define kTableEditor_MAXNUM_VISIBLE_COLUMNScxx . . $ `stat/TableEditor.h:24:9`! 100 |
| 25 | |
| 26 | Thing_definecxx . . $ autoTableEditor# (TableEditor, Editor) { |
| 27 | Tablecxx . . $ Table# tablecxx . . $ structTableEditor#table(ccb78df8cb76c789).() { return static_cast <Tablecxx . . $ Table#> (ourcxx . . $ `melder/melder.h:42:9`! datacxx . . $ structDataGui#data(e8441e10bf3a9c6e).()); } |
| 28 | |
| 29 | integercxx . . $ integer# topRowcxx . . $ structTableEditor#topRow., leftColumncxx . . $ structTableEditor#leftColumn., selectedRowcxx . . $ structTableEditor#selectedRow., selectedColumncxx . . $ structTableEditor#selectedColumn.; |
| 30 | GuiTextcxx . . $ GuiText# textcxx . . $ structTableEditor#text.; |
| 31 | GuiDrawingAreacxx . . $ GuiDrawingArea# drawingAreacxx . . $ structTableEditor#drawingArea.; |
| 32 | GuiScrollBarcxx . . $ GuiScrollBar# horizontalScrollBarcxx . . $ structTableEditor#horizontalScrollBar., verticalScrollBarcxx . . $ structTableEditor#verticalScrollBar.; |
| 33 | double columnLeftcxx . . $ structTableEditor#columnLeft. [kTableEditor_MAXNUM_VISIBLE_COLUMNScxx . . $ `stat/TableEditor.h:24:9`!], columnRightcxx . . $ structTableEditor#columnRight. [kTableEditor_MAXNUM_VISIBLE_COLUMNScxx . . $ `stat/TableEditor.h:24:9`!]; |
| 34 | autoGraphicscxx . . $ autoGraphics# graphicscxx . . $ structTableEditor#graphics.; |
| 35 | |
| 36 | void v1_infocxx . . $ structTableEditor#v1_info(49f6e7a06ebc5aa8). () |
| 37 | override; |
| 38 | void v_createChildrencxx . . $ structTableEditor#v_createChildren(49f6e7a06ebc5aa8). () |
| 39 | override; |
| 40 | void v_createMenuscxx . . $ structTableEditor#v_createMenus(49f6e7a06ebc5aa8). () |
| 41 | override; |
| 42 | void v_createMenuItems_helpcxx . . $ structTableEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) |
| 43 | override; |
| 44 | void v1_dataChangedcxx . . $ structTableEditor#v1_dataChanged(c0154a85f79216c7). (Editorcxx . . $ Editor# sender) |
| 45 | override; |
| 46 | |
| 47 | virtual void v_drawcxx . . $ structTableEditor#v_draw(49f6e7a06ebc5aa8). (); |
| 48 | virtual bool v_clickCellcxx . . $ structTableEditor#v_clickCell(bd69dc60220a4708). (integercxx . . $ integer# row, integercxx . . $ integer# column, bool shiftKeyPressed); |
| 49 | |
| 50 | #include "TableEditor_prefs.h"cxx . . $ `<file>/stat/TableEditor_prefs.h`/ |
| 51 | }; |
| 52 | |
| 53 | autoTableEditorcxx . . $ autoTableEditor# TableEditor_createcxx . . $ TableEditor_create(59754c7303a48287). (conststring32cxx . . $ conststring32# title, Tablecxx . . $ Table# table); |
| 54 | |
| 55 | /* End of file TableEditor.h */ |
| 56 | #endif |