NetSurf
Data Structures | Macros | Functions
statusbar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  s_statusbar
 

Macros

#define STATUSBAR_HEIGHT   16
 
#define STATUSBAR_MAX_SLEN   255
 

Functions

CMP_STATUSBAR sb_create (struct gui_window *gw)
 
void sb_destroy (CMP_STATUSBAR s)
 
void sb_set_text (CMP_STATUSBAR sb, const char *text)
 
void sb_attach (CMP_STATUSBAR sb, struct gui_window *gw)
 

Macro Definition Documentation

◆ STATUSBAR_HEIGHT

#define STATUSBAR_HEIGHT   16

Definition at line 22 of file statusbar.h.

◆ STATUSBAR_MAX_SLEN

#define STATUSBAR_MAX_SLEN   255

Definition at line 23 of file statusbar.h.

Function Documentation

◆ sb_attach()

void sb_attach ( CMP_STATUSBAR  sb,
struct gui_window gw 
)

Definition at line 215 of file statusbar.c.

References s_statusbar::aes_win, s_statusbar::attached, gui_window::root, and s_gui_win_root::win.

Referenced by window_open().

Here is the caller graph for this function:

◆ sb_create()

CMP_STATUSBAR sb_create ( struct gui_window gw)

Definition at line 199 of file statusbar.c.

References s_statusbar::attached, and sb_set_text().

Referenced by window_create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sb_destroy()

void sb_destroy ( CMP_STATUSBAR  s)

Definition at line 207 of file statusbar.c.

References NSLOG.

Referenced by window_destroy().

Here is the caller graph for this function:

◆ sb_set_text()

void sb_set_text ( CMP_STATUSBAR  sb,
const char *  text 
)

Definition at line 221 of file statusbar.c.

References s_statusbar::aes_win, s_statusbar::attached, STATUSBAR_MAX_SLEN, text(), s_statusbar::text, and s_statusbar::textlen.

Referenced by sb_create(), and window_set_stauts().

Here is the call graph for this function:
Here is the caller graph for this function: