Document IM_SET_OWN_NICKNAME, bold nick

This commit is contained in:
Jaidyn Ann 2021-08-03 16:05:57 -05:00
parent 8549404db5
commit f439ca9aa6
2 changed files with 4 additions and 3 deletions

View File

@ -138,7 +138,8 @@ enum im_what_code {
Requires: String "user_name" */ Requires: String "user_name" */
IM_SET_OWN_NICKNAME = 80, IM_SET_OWN_NICKNAME = 80,
//! Own nickname was changed →App /*! Own nickname was changed →App
Requires: String "user_name" */
IM_OWN_NICKNAME_SET = 81, IM_OWN_NICKNAME_SET = 81,
/*! Change own status →Protocol /*! Change own status →Protocol

View File

@ -43,7 +43,7 @@ StatusView::StatusView(const char* name, Server* server)
fAccount(-1) fAccount(-1)
{ {
// Nick name // Nick name
fNickname = new EnterTextView("nicknameTextView"); fNickname = new EnterTextView("nicknameTextView", be_bold_font, NULL);
fNickname->MakeEditable(true); fNickname->MakeEditable(true);
fNickname->MakeResizable(true); fNickname->MakeResizable(true);
fNickname->SetTarget(this); fNickname->SetTarget(this);
@ -211,7 +211,7 @@ StatusView::_SetToAccount()
void void
StatusView::_SetName(BString name) StatusView::_SetName(BString name)
{ {
fNickname->SetText(name.String()); fNickname->SetText(name.String());
} }