home *** CD-ROM | disk | FTP | other *** search
/ Kyūkyoku!! X68000 Emulator / X68000Book.dat / mac / OLS / X68000 / Ko-Window / kow142s.lzh / corlib / SetTitleLabel.c < prev    next >
C/C++ Source or Header  |  1994-09-06  |  404b  |  23 lines

  1. /*
  2.     SetTitle    1991 Å¼è}î┤öÄöV
  3. */
  4.  
  5. #include    <stdio.h>
  6. #include    <wlib.h>
  7. #include    <winop.h>
  8. #include    "title.h"
  9.  
  10. asm( " .xdef _SetTitleLabel" );
  11. asm( "_SetTitleLabel    equ    _TitleSetLabel" );
  12.  
  13. unsigned char*
  14. TitleSetLabel( wp, title )
  15. TitleClass    *wp;
  16. unsigned char    *title;
  17. {
  18.     unsigned char    *p= (unsigned char*)strcpy( wp->title.label, title );
  19.     WindowRedraw( (WindowID)wp );
  20.     return    p;
  21. }
  22.  
  23.