Include dependency graph for msgwin.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | msgwin_clear_text (struct MuttWindow *win) |
| Clear the text in the Message Window. | |
| bool | msgwin_has_text (void) |
| Does the Message Window currently hold any text? | |
| struct MuttWindow * | msgwin_new (bool interactive) |
| Create the Message Window. | |
| void | msgwin_add_text (struct MuttWindow *win, const char *text, const struct AttrColor *ac_color) |
| Add text to the Message Window. | |
| void | msgwin_add_text_n (struct MuttWindow *win, const char *text, int bytes, const struct AttrColor *ac_color) |
| Add some text to the Message Window. | |
| const char * | msgwin_get_text (struct MuttWindow *win) |
| Get the text from the Message Window. | |
| struct MuttWindow * | msgwin_get_window (void) |
| Get the Message Window pointer. | |
| void | msgwin_set_rows (struct MuttWindow *win, short rows) |
| Resize the Message Window. | |
| void | msgwin_set_text (struct MuttWindow *win, const char *text, enum ColorId color) |
| Set the text for the Message Window. | |
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 | ( | struct MuttWindow * | win | ) |
Clear the text in the Message Window.
| win | Message Window |
Clear the displayed text. If the Message Window is not the only Window in the Message Container, it is also hidden and the Windows are reflowed.
Definition at line 554 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool msgwin_has_text | ( | void | ) |
Does the Message Window currently hold any text?
| true | The Message Window currently displays a message |
Used by msgcont_push_window() to decide whether the Message Window should remain visible when another Window is pushed on top of it.
Definition at line 609 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MuttWindow * msgwin_new | ( | bool | interactive | ) |
Create the Message Window.
| ptr | New Window |
Definition at line 381 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void msgwin_add_text | ( | struct MuttWindow * | win, |
| const char * | text, | ||
| const struct AttrColor * | ac_color ) |
Add text to the Message Window.
| win | Message Window |
| text | Text to add |
| ac_color | Colour for text |
Definition at line 431 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void msgwin_add_text_n | ( | struct MuttWindow * | win, |
| const char * | text, | ||
| int | bytes, | ||
| const struct AttrColor * | ac_color ) |
Add some text to the Message Window.
| win | Message Window |
| text | Text to add |
| bytes | Number of bytes of text to add |
| ac_color | Colour for text |
Definition at line 462 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const char * msgwin_get_text | ( | struct MuttWindow * | win | ) |
Get the text from the Message Window.
| win | Message Window |
| ptr | Window text |
Definition at line 413 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MuttWindow * msgwin_get_window | ( | void | ) |
| void msgwin_set_rows | ( | struct MuttWindow * | win, |
| short | rows ) |
Resize the Message Window.
| win | Message Window |
| rows | Number of rows required |
Resize the other Windows to allow a multi-line message to be displayed.
Definition at line 310 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void msgwin_set_text | ( | struct MuttWindow * | win, |
| const char * | text, | ||
| enum ColorId | color ) |
Set the text for the Message Window.
| win | Message Window |
| text | Text to set |
| color | Colour for text |
If the Message Window is currently hidden (because another Window has been pushed on top of it in the Message Container) it will make itself visible and trigger a reflow so the message is shown to the user.
Definition at line 500 of file msgwin.c.
Here is the call graph for this function:
Here is the caller graph for this function: