TextBoxDialog Class Reference

Dialog used for formatting dialogue text. More...

#include <textboxdialog.h>

List of all members.

Public Member Functions

 TextBoxDialog ()
 Default constructor.
Glib::ustring get_text () const
 Get the formatted text.
TextBoxEditorget_editor ()
 Get a pointer to the internal drawing area.

Private Member Functions

void construct ()
 Build the dialog's UI.
void on_entry_changed (int line)
 Handler for text entry changes.

Private Attributes

Gtk::CheckButton * m_BreakCB
Gtk::Label * m_IntroLabel
Gtk::Label * m_Line1Label
Gtk::Label * m_Line2Label
Gtk::Label * m_Line3Label
Gtk::Entry * m_Line1Entry
Gtk::Entry * m_Line2Entry
Gtk::Entry * m_Line3Entry
TextBoxEditorm_TextBox
 TextBoxEditor widget for preview.


Detailed Description

Dialog used for formatting dialogue text.

The TextBoxEditor widget is encapsulated in this dialog, which provides the basic functionality.


Member Function Documentation

Glib::ustring TextBoxDialog::get_text (  )  const

Get the formatted text.

Returns:
Formatted text, ready to be inserted into a text block

TextBoxEditor* TextBoxDialog::get_editor (  )  [inline]

Get a pointer to the internal drawing area.

Returns:
A pointer to the TextBoxEditor widget used by this dialog


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:19 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3