#include <notifications.h>
Public Member Functions | |
int | calc_height () override |
void | draw_content (ux_window &win, int x, int y, float t, std::string &error_message) override |
int | get_max_lifetime_ms () const override |
void | set_color_scheme (float t) const override |
sw_recommended_update_alert_model (const std::string ¤t_version, const std::string &recommended_version, const std::string &recommended_version_link) | |
Public Member Functions inherited from rs2::notification_model | |
void | delay (int days) |
virtual void | dismiss (bool snooze) |
std::function< void()> | draw (ux_window &win, int w, int y, std::shared_ptr< notification_model > &selected, std::string &error_message) |
virtual void | draw_dismiss (ux_window &win, int x, int y) |
virtual void | draw_expanded (ux_window &win, std::string &error_message) |
virtual void | draw_pre_effect (int x, int y) |
void | draw_text (const char *msg, int x, int y, int h) |
double | get_age_in_ms (bool total=false) const |
std::string | get_title () |
bool | interacted () const |
void | invoke (std::function< void()> action) |
template<class dst_type > | |
bool | is () |
bool | is_delayed () const |
notification_model () | |
notification_model (const notification_data &n) | |
void | unset_color_scheme () const |
Definition at line 225 of file notifications.h.
rs2::sw_recommended_update_alert_model::sw_recommended_update_alert_model | ( | const std::string & | current_version, |
const std::string & | recommended_version, | ||
const std::string & | recommended_version_link | ||
) |
Definition at line 1018 of file notifications.cpp.
|
inlineoverridevirtual |
Reimplemented from rs2::notification_model.
Definition at line 232 of file notifications.h.
|
overridevirtual |
Reimplemented from rs2::notification_model.
Definition at line 1038 of file notifications.cpp.
|
inlineoverridevirtual |
Reimplemented from rs2::notification_model.
Definition at line 233 of file notifications.h.
|
overridevirtual |
Reimplemented from rs2::notification_model.
Definition at line 1030 of file notifications.cpp.
const std::string rs2::sw_recommended_update_alert_model::_current_version |
Definition at line 234 of file notifications.h.
const std::string rs2::sw_recommended_update_alert_model::_recommended_version |
Definition at line 235 of file notifications.h.
const std::string rs2::sw_recommended_update_alert_model::_recommended_version_link |
Definition at line 236 of file notifications.h.