egami
C++ Image Processing program
|
Display facility of a text. More...
#include <display_unit.hpp>
Public Member Functions | |
Info_unit (const std::string &text) | |
Constructs an Info_unit from a string. | |
bool | modifiable () const |
Is the unit usable as source of a processing. | |
bool | save () const |
void | save_as (const std::string &) const |
Private Attributes | |
Glib::RefPtr< Gtk::TextBuffer > | text_buffer |
Display facility of a text.
Definition at line 98 of file display_unit.hpp.
Info_unit::Info_unit | ( | const std::string & | text | ) |
Constructs an Info_unit from a string.
text | the text displayed by the Info_unit |
Definition at line 120 of file display_unit.cpp.
bool Info_unit::modifiable | ( | ) | const [virtual] |
Is the unit usable as source of a processing.
Implements Display_unit.
Definition at line 127 of file display_unit.cpp.
bool Info_unit::save | ( | ) | const [virtual] |
Implements Display_unit.
Definition at line 131 of file display_unit.cpp.
void Info_unit::save_as | ( | const std::string & | arg | ) | const [virtual] |
Implements Display_unit.
Definition at line 135 of file display_unit.cpp.
Glib::RefPtr<Gtk::TextBuffer> Info_unit::text_buffer [private] |
The buffer containing the text to be displayed
Definition at line 113 of file display_unit.hpp.