Go to the source code of this file.
Functions | |
void | msgwin_clear_text (void) |
Clear the text in the Message Window. More... | |
struct MuttWindow * | msgwin_new (void) |
Create the Message Window. More... | |
const char * | msgwin_get_text (void) |
Get the text from the Message Window. More... | |
size_t | msgwin_get_width (void) |
Get the width of the Message Window. More... | |
struct MuttWindow * | msgwin_get_window (void) |
Get the Message Window pointer. More... | |
void | msgwin_set_height (short height) |
Resize the Message Window. More... | |
void | msgwin_set_text (enum ColorId cid, const char *text) |
Set the text for the Message Window. More... | |
Message Window.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file msgwin.h.
void msgwin_clear_text | ( | void | ) |
Clear the text in the Message Window.
Definition at line 249 of file msgwin.c.
struct MuttWindow * msgwin_new | ( | void | ) |
Create the Message Window.
ptr | New Window |
Definition at line 197 of file msgwin.c.
const char * msgwin_get_text | ( | void | ) |
size_t msgwin_get_width | ( | void | ) |
Get the width of the Message Window.
num | Width of Message Window |
Definition at line 269 of file msgwin.c.
struct MuttWindow * msgwin_get_window | ( | void | ) |
void msgwin_set_height | ( | short | height | ) |
height | Number of rows required |
Resize the other Windows to allow a multi-line message to be displayed.
Definition at line 283 of file msgwin.c.
void msgwin_set_text | ( | enum ColorId | cid, |
const char * | text | ||
) |
Set the text for the Message Window.
cid | Colour Id, e.g. MT_COLOR_MESSAGE |
text | Text to set |
Definition at line 233 of file msgwin.c.