1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef MAIN_SCHEDULING_PAGE_H 6 #define MAIN_SCHEDULING_PAGE_H 7 8 9 #include <GroupView.h> 10 11 #include "table/Table.h" 12 13 #include "main_window/MainWindow.h" 14 15 16 class BScrollView; 17 18 19 class MainWindow::SchedulingPage : public BGroupView, private TableListener { 20 public: 21 SchedulingPage(MainWindow* parent); 22 virtual ~SchedulingPage(); 23 24 void SetModel(Model* model); 25 26 private: 27 struct SchedulingEvent; 28 class SchedulingData; 29 class BaseView; 30 class ThreadsView; 31 class SchedulingView; 32 class ViewPort; 33 34 struct FontInfo { 35 font_height fontHeight; 36 float lineHeight; 37 }; 38 39 private: 40 MainWindow* fParent; 41 Model* fModel; 42 BScrollView* fScrollView; 43 ViewPort* fViewPort; 44 ThreadsView* fThreadsView; 45 SchedulingView* fSchedulingView; 46 FontInfo fFontInfo; 47 }; 48 49 50 #endif // MAIN_SCHEDULING_PAGE_H 51