#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "core/lib.h"#include "msgcont.h"#include "module_data.h"#include "msgwin.h"#include "mutt_window.h"
Include dependency graph for msgcont.c:Go to the source code of this file.
Functions | |
| struct MuttWindow * | msgcont_new (void) |
| Create a new Message Container. | |
| void | msgcont_recalc_rows (void) |
| Recalculate the Bottom Bar height. | |
| int | msgcont_num_windows (void) |
| Count the Windows in the Message Container. | |
| struct MuttWindow * | msgcont_pop_window (void) |
| Remove the last Window from the Container Stack. | |
| void | msgcont_push_window (struct MuttWindow *win) |
| Add a window to the Container Stack. | |
| struct MuttWindow * | msgcont_get_msgwin (void) |
| Get the Message Window. | |
Message Container.
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 msgcont.c.
| struct MuttWindow * msgcont_new | ( | void | ) |
Create a new Message Container.
| ptr | New Container Window |
Definition at line 46 of file msgcont.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void msgcont_recalc_rows | ( | void | ) |
Recalculate the Bottom Bar height.
Sum the req_rows of all visible children of the Message Container and apply the result to the Bottom Bar's req_rows. The caller is responsible for triggering a reflow if needed.
Definition at line 64 of file msgcont.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int msgcont_num_windows | ( | void | ) |
| struct MuttWindow * msgcont_pop_window | ( | void | ) |
Remove the last Window from the Container Stack.
| ptr | Window removed from the stack |
Definition at line 103 of file msgcont.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void msgcont_push_window | ( | struct MuttWindow * | win | ) |
Add a window to the Container Stack.
| win | Window to add |
Definition at line 150 of file msgcont.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MuttWindow * msgcont_get_msgwin | ( | void | ) |
Get the Message Window.
| ptr | Message Window |
The Message Window is the first child of the MessageContainer and will have type WT_MESSAGE.
Definition at line 190 of file msgcont.c.
Here is the call graph for this function:
Here is the caller graph for this function: