Changeset 37eab7f for mainwin.c


Ignore:
Timestamp:
Oct 25, 2003, 11:53:43 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
eec69e1
Parents:
8c92848
Message:
Added the loopback message type
Added the loopwrite command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mainwin.c

    rf2f9314 r37eab7f  
    33static const char fileIdent[] = "$Id$";
    44
    5 void owl_mainwin_init(owl_mainwin *mw) {
     5void owl_mainwin_init(owl_mainwin *mw)
     6{
    67  mw->curtruncated=0;
    78  mw->lastdisplayed=-1;
    89}
    910
    10 void owl_mainwin_redisplay(owl_mainwin *mw) {
     11void owl_mainwin_redisplay(owl_mainwin *mw)
     12{
    1113  owl_message *m;
    1214  int i, p, q, lines, isfull, viewsize;
     
    136138
    137139
    138 int owl_mainwin_is_curmsg_truncated(owl_mainwin *mw) {
     140int owl_mainwin_is_curmsg_truncated(owl_mainwin *mw)
     141{
    139142  if (mw->curtruncated) return(1);
    140143  return(0);
    141144}
    142145
    143 int owl_mainwin_is_last_msg_truncated(owl_mainwin *mw) {
     146int owl_mainwin_is_last_msg_truncated(owl_mainwin *mw)
     147{
    144148  if (mw->lasttruncated) return(1);
    145149  return(0);
    146150}
    147151
    148 int owl_mainwin_get_last_msg(owl_mainwin *mw) {
     152int owl_mainwin_get_last_msg(owl_mainwin *mw)
     153{
    149154  /* return the number of the last message displayed. -1 if none */
    150155  return(mw->lastdisplayed);
Note: See TracChangeset for help on using the changeset viewer.