Pager Bar. More...
#include "config.h"
#include <stdio.h>
#include <sys/stat.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "pbar.h"
#include "lib.h"
#include "color/lib.h"
#include "expando/lib.h"
#include "index/lib.h"
#include "display.h"
#include "hdrline.h"
#include "mview.h"
#include "private_data.h"
Go to the source code of this file.
Data Structures | |
struct | PBarPrivateData |
Data to draw the Pager Bar. More... | |
Functions | |
static int | pbar_recalc (struct MuttWindow *win) |
Recalculate the Window data - Implements MuttWindow::recalc() -. | |
static int | pbar_repaint (struct MuttWindow *win) |
Repaint the Window - Implements MuttWindow::repaint() -. | |
static int | pbar_color_observer (struct NotifyCallback *nc) |
Notification that a Color has changed - Implements observer_t -. | |
static int | pbar_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
static int | pbar_index_observer (struct NotifyCallback *nc) |
Notification that the Index has changed - Implements observer_t -. | |
static int | pbar_pager_observer (struct NotifyCallback *nc) |
Notification that the Pager has changed - Implements observer_t -. | |
static int | pbar_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
static void | pbar_data_free (struct MuttWindow *win, void **ptr) |
Free the private data - Implements MuttWindow::wdata_free() -. | |
static struct PBarPrivateData * | pbar_data_new (struct IndexSharedData *shared, struct PagerPrivateData *priv) |
Create new private data. | |
struct MuttWindow * | pbar_new (struct IndexSharedData *shared, struct PagerPrivateData *priv) |
Create the Pager Bar. | |
Pager Bar.
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 pbar.c.
|
static |
Create new private data.
shared | Shared Index data |
priv | Private Index data |
ptr | New PBar |
Definition at line 314 of file pbar.c.
struct MuttWindow * pbar_new | ( | struct IndexSharedData * | shared, |
struct PagerPrivateData * | priv | ||
) |
Create the Pager Bar.
shared | Shared Pager data |
priv | Private Pager data |
ptr | New Pager Bar |
Definition at line 331 of file pbar.c.