~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to lockscreen/UserPromptView.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2016-03-07 18:51:47 UTC
  • mfrom: (4080 unity)
  • mto: This revision was merged to the branch mainline in revision 4085.
  • Revision ID: mail@3v1n0.net-20160307185147-0p1m89up4tqfb6w1
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
}
101
101
 
102
102
UserPromptView::UserPromptView(session::Manager::Ptr const& session_manager)
103
 
  : nux::View(NUX_TRACKER_LOCATION)
 
103
  : AbstractUserPromptView(session_manager)
104
104
  , scale(1.0)
105
105
  , session_manager_(session_manager)
106
106
  , username_(nullptr)
317
317
  text_input->scale = scale();
318
318
  text_input->input_hint = SanitizeMessage(message);
319
319
  text_input->hint_font_size = PROMPT_FONT_SIZE;
320
 
  text_input->show_caps_lock = true;
 
320
  text_input->show_lock_warnings = true;
321
321
  text_input->show_activator = true;
322
322
  text_entry->SetPasswordMode(!visible);
323
323
  text_entry->SetPasswordChar("•");