Root Window. More...
#include "config.h"
#include <stdbool.h>
#include <string.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "helpbar/lib.h"
#include "dialog.h"
#include "msgcont.h"
#include "msgwin.h"
#include "mutt_window.h"
Go to the source code of this file.
Functions | |
void | mutt_resize_screen (void) |
Update NeoMutt's opinion about the window size. | |
static int | rootwin_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
static int | rootwin_resize_observer (struct NotifyCallback *nc) |
Notification that the terminal has been resized - Implements observer_t -. | |
static int | rootwin_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
void | rootwin_cleanup (void) |
Free all the default Windows. | |
void | rootwin_new (void) |
Create the default Windows. | |
void | rootwin_set_size (int cols, int rows) |
Set the dimensions of the Root Window. | |
Variables | |
struct MuttWindow * | RootWindow = NULL |
Parent of all Windows. | |
Root 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 rootwin.c.
void mutt_resize_screen | ( | void | ) |
Update NeoMutt's opinion about the window size.
Definition at line 76 of file resize.c.
void rootwin_cleanup | ( | void | ) |
Free all the default Windows.
Definition at line 202 of file rootwin.c.
void rootwin_new | ( | void | ) |
Create the default Windows.
Create the Help, Index, Status, Message and Sidebar Windows.
Definition at line 214 of file rootwin.c.
void rootwin_set_size | ( | int | cols, |
int | rows | ||
) |
Set the dimensions of the Root Window.
rows | Number of rows on the screen |
cols | Number of columns on the screen |
This function is called after NeoMutt receives a SIGWINCH signal.
Definition at line 253 of file rootwin.c.
struct MuttWindow* RootWindow = NULL |