Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* PDCurses */
  2.  
  3. #include "pdcsdl.h"
  4.  
  5. /* get the cursor size/shape */
  6.  
  7. int PDC_get_cursor_mode(void)
  8. {
  9.     PDC_LOG(("PDC_get_cursor_mode() - called\n"));
  10.  
  11.     return 0;
  12. }
  13.  
  14. /* return number of screen rows */
  15.  
  16. int PDC_get_rows(void)
  17. {
  18.     PDC_LOG(("PDC_get_rows() - called\n"));
  19.  
  20.     return pdc_sheight / pdc_fheight;
  21. }
  22.  
  23. /* return width of screen/viewport */
  24.  
  25. int PDC_get_columns(void)
  26. {
  27.     PDC_LOG(("PDC_get_columns() - called\n"));
  28.  
  29.     return pdc_swidth / pdc_fwidth;
  30. }
  31.