You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
627 B
35 lines
627 B
#ifndef JUCI_SOURCE_H_ |
|
#define JUCI_SOURCE_H_ |
|
|
|
#include <iostream> |
|
#include "gtkmm.h" |
|
|
|
namespace Source { |
|
class View : public Gtk::TextView { |
|
public: |
|
View(); |
|
void UpdateLine(Glib::RefPtr<Gtk::TextBuffer::Mark> mark); |
|
private: |
|
void UpdateSyntaxHighlighting(int line_number); |
|
}; |
|
|
|
class Model{ |
|
public: |
|
Model(); |
|
}; |
|
|
|
class Controller { |
|
public: |
|
Controller(); |
|
View& view(); |
|
Model& model(); |
|
|
|
private: |
|
void OnLineEdit(Glib::RefPtr<Gtk::TextBuffer::Mark> mark); |
|
|
|
protected: |
|
View view_; |
|
Model model_; |
|
}; // class Controller |
|
} // namespace Source |
|
#endif // JUCI_SOURCE_H_
|
|
|