Subversion Repositories libOLED

Rev

Rev 2 | Rev 6 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 3
Line 190... Line 190...
190
    }
190
    }
191
  return 0;
191
  return 0;
192
}
192
}
193
 
193
 
194
// the most basic function, set a single pixel
194
// the most basic function, set a single pixel
195
inline void
195
void
196
display_t::drawPixel (int16_t x, int16_t y, colour_t color)
196
display_t::drawPixel (int16_t x, int16_t y, colour_t color)
197
{
197
{
198
  if ((x < 0) || (x >= m_width) || (y < 0) || (y >= m_height))
198
  if ((x < 0) || (x >= m_width) || (y < 0) || (y >= m_height))
199
    return;
199
    return;
200
 
200
 
Line 455... Line 455...
455
          y += iy;
455
          y += iy;
456
        }
456
        }
457
    }
457
    }
458
}
458
}
459
 
459
 
460
void
-
 
461
printString (font_t &font, char *string, int length, colour_t colour)
-
 
462
{
-
 
463
  (void) font;
-
 
464
  (void) string;
-
 
465
  (void) length;
-
 
466
  (void) colour;
-
 
467
}
-
 
468
 
-
 
469
void
-
 
470
printChar (font_t &font, char c, colour_t colour)
-
 
471
{
-
 
472
  (void) font;
-
 
473
  (void) c;
-
 
474
  (void) colour;
-
 
475
}
-