Simple Bar (status) More...
#include "config.h"
#include "mutt/lib.h"
#include "sbar.h"
#include "color/lib.h"
#include "curs_lib.h"
#include "mutt_curses.h"
#include "mutt_window.h"
Go to the source code of this file.
Data Structures | |
struct | SBarPrivateData |
Private data for the Simple Bar. More... | |
Functions | |
static int | sbar_recalc (struct MuttWindow *win) |
Recalculate the Window data - Implements MuttWindow::recalc() -. | |
static int | sbar_repaint (struct MuttWindow *win) |
Repaint the Window - Implements MuttWindow::repaint() -. | |
static int | sbar_color_observer (struct NotifyCallback *nc) |
Notification that a Color has changed - Implements observer_t -. | |
static int | sbar_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
static void | sbar_wdata_free (struct MuttWindow *win, void **ptr) |
Free the private data of the Simple Bar - Implements MuttWindow::wdata_free() -. | |
static struct SBarPrivateData * | sbar_data_new (void) |
Create the private data for the Simple Bar. | |
struct MuttWindow * | sbar_new (void) |
Add the Simple Bar (status) | |
void | sbar_set_title (struct MuttWindow *win, const char *title) |
Set the title for the Simple Bar. | |
Simple Bar (status)
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 sbar.c.
|
static |
Create the private data for the Simple Bar.
ptr | New SBar |
Definition at line 194 of file sbar.c.
struct MuttWindow * sbar_new | ( | void | ) |
Add the Simple Bar (status)
ptr | New Simple Bar |
Definition at line 203 of file sbar.c.
void sbar_set_title | ( | struct MuttWindow * | win, |
const char * | title | ||
) |
Set the title for the Simple Bar.
win | Window of the Simple Bar |
title | String to set |
Definition at line 227 of file sbar.c.