Lines Matching refs:type
32 MessageId MessageStack::push(MessageType type, gchar const *message) {
33 return _push(type, 0, message);
36 MessageId MessageStack::pushF(MessageType type, gchar const *format, ...)
40 MessageId id=pushVF(type, format, args);
45 MessageId MessageStack::pushVF(MessageType type, gchar const *format, va_list args)
49 id = push(type, message);
65 MessageId MessageStack::flash(MessageType type, Glib::ustring const &message)
67 MessageId id = flash( type, message.c_str() );
71 MessageId MessageStack::flash(MessageType type, gchar const *message) {
72 switch (type) {
74 return _push(type, 6000 + 80*strlen(message), message);
77 return _push(type, 4000 + 60*strlen(message), message);
80 return _push(type, 2000 + 40*strlen(message), message);
83 return _push(type, 1000 + 20*strlen(message), message);
87 return _push(type, 1000 + 20*strlen(message), message);
92 MessageId MessageStack::flashF(MessageType type, gchar const *format, ...) {
95 MessageId id = flashVF(type, format, args);
100 MessageId MessageStack::flashVF(MessageType type, gchar const *format, va_list args)
103 MessageId id = flash(type, message);
108 MessageId MessageStack::_push(MessageType type, guint lifetime, gchar const *message)
115 m->type = type;
148 _changed_signal.emit(_messages->type, _messages->message);