Beispiel #1
0
void HUlib_eraseIText(hu_itext_t* it)
{
  if (it->laston && !*it->on)
    it->l.needsupdate = 4;
  HUlib_eraseTextLine(&it->l);
  it->laston = *it->on;
}
Beispiel #2
0
void HU_Erase(void)
{

    HUlib_eraseSText(&w_message);
    HUlib_eraseIText(&w_chat);
    HUlib_eraseTextLine(&w_title);

}
Beispiel #3
0
void HU_Erase(void)
{
    if (message_on)
        HUlib_eraseSText(&w_message);

    if (mapwindow || automapactive)
        HUlib_eraseTextLine(&w_title);
}
Beispiel #4
0
//
// HUlib_eraseMText()
//
// Erases a hu_mtext_t widget, when the screen is not fullsize
//
// Passed a hu_mtext_t
// Returns nothing
//
void HUlib_eraseMText(hu_mtext_t* m)
{
  int i;

  for (i=0 ; i< m->nl ; i++)
  {
    m->l[i].needsupdate = 4;
    HUlib_eraseTextLine(&m->l[i]);
  }
}
Beispiel #5
0
void HUlib_eraseSText(hu_stext_t* s)
{
  int i;

  for (i = 0 ; i < s->h ; i++)
  {
    if (s->laston && !*s->on)
      s->l[i].needsupdate = 4;
    HUlib_eraseTextLine(&s->l[i]);
  }
  s->laston = *s->on;
}
Beispiel #6
0
void HUlib_eraseMText(hu_mtext_t* m)
{
  int i;

  if (hud_list_bgon)
    HUlib_eraseMBg(m);

  for (i = 0 ; i < m->nl ; i++)
  {
    m->l[i].needsupdate = 4;
    HUlib_eraseTextLine(&m->l[i]);
  }
}
Beispiel #7
0
void HU_Erase(void)
{
  // erase the message display or the message review display
  if (!message_list)
    HUlib_eraseSText(&w_message);
  else
    HUlib_eraseMText(&w_rtext);

  // erase the interactive text buffer for chat entry
  HUlib_eraseIText(&w_chat);

  // erase the automap title
  HUlib_eraseTextLine(&w_title);
}