Changes between Version 5 and Version 6 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/CBitmap


Ignore:
Timestamp:
04/06/11 13:40:39 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/CBitmap

    v5 v6  
    5151
    52520 successful
    53 -2 file cannot be opened
    54 -3 bitmap header cannot be read
    55 -4 bitmap info cannot be read
    56 -5 width is greater than 640, height is greater than 480, or bitmap is not 8 bits per pixel.
    57 -6 color palette cannot be read
    58 -7 Too many colors in palette
     53-2
     54-3
     55-4
     56-5 .
     57-6
     58-7
     59
     60||'''Response'''||'''Description'''||
     61||BITMAP_SUCCESS||Operation successful||
     62||ERR_BITMAP_FILE_OPEN||file cannot be opened||
     63||ERR_BITMAP_HEADER_READ||bitmap header cannot be read||
     64||ERR_BITMAP_INFO_READ||bitmap info cannot be read||
     65||ERR_BITMAP_SIZE_OR_TYPE||width is greater than 640, height is greater than 480, or bitmap is not 8 bits per pixel||
     66||ERR_BITMAP_PALETTE_READ||color palette cannot be read||
     67||ERR_BITMAP_TOO_MANY_COLORS||Too many colors in palette||
     68||ERR_BITMAP_BITS_READ||bitmap bits cannot be read||
     69||ERR_BITMAP_DRAW_OFF_SCREEN||Bitmap draw would have placed bitmap off screen or partially off screen||
    5970
    6071==== Remarks ====
     
    237248 
    238249Function returns the current error code.
    239 0 successful
    240 -2 file cannot be opened
    241 -3 bitmap header cannot be read
    242 -4 bitmap info cannot be read
    243 -5 width is greater than 640, height is greater than 480, or bitmap is not 8 bits per pixel.
    244 -6 color palette cannot be read
    245 -7 Too many colors in palette
    246 
    247 -10 Draw attempted that would place bitmap off screen or partially off screen.
     250
     251||'''Response'''||'''Description'''||
     252||BITMAP_SUCCESS||Operation successful||
     253||ERR_BITMAP_FILE_OPEN||file cannot be opened||
     254||ERR_BITMAP_HEADER_READ||bitmap header cannot be read||
     255||ERR_BITMAP_INFO_READ||bitmap info cannot be read||
     256||ERR_BITMAP_SIZE_OR_TYPE||width is greater than 640, height is greater than 480, or bitmap is not 8 bits per pixel||
     257||ERR_BITMAP_PALETTE_READ||color palette cannot be read||
     258||ERR_BITMAP_TOO_MANY_COLORS||Too many colors in palette||
     259||ERR_BITMAP_BITS_READ||bitmap bits cannot be read||
     260||ERR_BITMAP_DRAW_OFF_SCREEN||Bitmap draw would have placed bitmap off screen or partially off screen||
    248261
    249262==== Remarks ====
     
    255268CBitmap bitmap("/mnt/nand/apps/myapp/myapp.bmp");
    256269int err = bitmap.GetError();
    257 if(err != 0)
     270if(err != BITMAP_SUCCESS)
    258271{
    259272   DisplayText(0, 0, "Error loading bitmap");