Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1707 → Rev 1709

/uspace/trunk/fb/fb.c
207,7 → 207,7
 
/** Put pixel into viewport
*
* @param vp Viewport identification
* @param vport Viewport identification
* @param x X coord relative to viewport
* @param y Y coord relative to viewport
* @param color RGB color
283,8 → 283,8
 
/** Scroll unbuffered viewport up/down
*
* @param vp Viewport to scroll
* @param rows Positive number - scroll up, negative - scroll down
* @param vport Viewport to scroll
* @param lines Positive number - scroll up, negative - scroll down
*/
static void scroll_port_nodb(viewport_t *vport, int lines)
{
373,7 → 373,7
 
/** Draw character at given position
*
* @param vp Viewport where the character is printed
* @param vport Viewport where the character is printed
* @param sx Coordinates of top-left of the character
* @param sy Coordinates of top-left of the character
* @param style Color of the character
458,8 → 458,8
/** Initialize framebuffer as a chardev output device
*
* @param addr Address of theframebuffer
* @param x Screen width in pixels
* @param y Screen height in pixels
* @param xres Screen width in pixels
* @param yres Screen height in pixels
* @param bpp Bits per pixel (8, 16, 24, 32)
* @param scan Bytes per one scanline
*
529,7 → 529,7
 
/** Draw character at given position relative to viewport
*
* @param vp Viewport identification
* @param vport Viewport identification
* @param c Character to print
* @param row Screen position relative to viewport
* @param col Screen position relative to viewport
560,7 → 560,7
 
/** Draw text data to viewport
*
* @param vp Viewport id
* @param vport Viewport id
* @param data Text data fitting exactly into viewport
*/
static void draw_text_data(viewport_t *vport, keyfield_t *data)
/uspace/trunk/fb/ppm.c
75,8 → 75,8
*
* @param data Pointer to PPM data
* @param datasz Maximum data size
* @param x Coordinate of upper left corner
* @param y Coordinate of upper left corner
* @param sx Coordinate of upper left corner
* @param sy Coordinate of upper left corner
* @param maxwidth Maximum allowed width for picture
* @param maxheight Maximum allowed height for picture
* @param putpixel Putpixel function used to print bitmap
84,7 → 84,7
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx,
unsigned int sy,
unsigned int maxwidth, unsigned int maxheight,
putpixel_cb_t putpixel,void *vport)
putpixel_cb_t putpixel, void *vport)
{
unsigned int width, height;
unsigned int maxcolor;