Colour notifications. More...
Go to the source code of this file.
Data Structures | |
struct | EventColor |
An Event that happened to a Colour. More... | |
Enumerations | |
enum | NotifyColor { NT_COLOR_SET = 1 , NT_COLOR_RESET } |
Types of Color Event. More... | |
Functions | |
void | color_notify_init (void) |
Initialise the Colour notification. | |
void | color_notify_cleanup (void) |
Free the Colour notification. | |
void | mutt_color_observer_add (observer_t callback, void *global_data) |
Add an observer. | |
void | mutt_color_observer_remove (observer_t callback, void *global_data) |
Remove an observer. | |
Variables | |
struct Notify * | ColorsNotify |
Notifications: ColorId, EventColor. | |
Colour notifications.
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 notify2.h.
enum NotifyColor |
Types of Color Event.
Observers of NT_COLOR will be passed an EventColor.
Enumerator | |
---|---|
NT_COLOR_SET | Color has been set. |
NT_COLOR_RESET | Color has been reset/removed. |
void color_notify_init | ( | void | ) |
Initialise the Colour notification.
Definition at line 40 of file notify.c.
void color_notify_cleanup | ( | void | ) |
void mutt_color_observer_add | ( | observer_t | callback, |
void * | global_data | ||
) |
Add an observer.
callback | The callback |
global_data | The data |
Definition at line 59 of file notify.c.
void mutt_color_observer_remove | ( | observer_t | callback, |
void * | global_data | ||
) |
Remove an observer.
callback | The callback |
global_data | The data |
Definition at line 69 of file notify.c.
|
extern |
Notifications: ColorId, EventColor.