Exemple #1
0
static void
show_password_prompt (ply_boot_splash_plugin_t *plugin,
                      const char               *text,
                      int                       number_of_bullets)
{
        ply_list_node_t *node;

        node = ply_list_get_first_node (plugin->views);
        while (node != NULL) {
                ply_list_node_t *next_node;
                view_t *view;

                view = ply_list_node_get_data (node);
                next_node = ply_list_get_next_node (plugin->views, node);

                view_show_prompt (view, text);
                ply_entry_set_bullet_count (view->entry, number_of_bullets);

                node = next_node;
        }
}
Exemple #2
0
void
ply_entry_remove_bullet (ply_entry_t *entry)
{
  ply_entry_set_bullet_count (entry, ply_entry_get_bullet_count (entry)-1);
}
Exemple #3
0
void
ply_entry_remove_all_bullets (ply_entry_t *entry)
{
  ply_entry_set_bullet_count (entry, 0);
}
Exemple #4
0
void
ply_entry_add_bullet (ply_entry_t *entry)
{
  ply_entry_set_bullet_count (entry, ply_entry_get_bullet_count (entry)+1);
}