Changes between Version 15 and Version 16 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/CBitmap
- Timestamp:
- 04/14/25 07:29:05 (10 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/CBitmap
v15 v16 72 72 {{{#!c++ 73 73 CBitmap bitamp; 74 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp") != BITMAP_SUCCESS) 75 { 74 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp") != BITMAP_SUCCESS) { 76 75 DisplayText(0, 0, "Error loading bitmap"); 77 76 } … … 87 86 88 87 CBitmap bitamp; 89 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp", &trans) != BITMAP_SUCCESS) 90 { 88 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp", &trans) != BITMAP_SUCCESS) { 91 89 DisplayText(0, 0, "Error loading bitmap"); 92 90 } … … 99 97 invert = true; 100 98 } 101 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp", nullptr, invert) != BITMAP_SUCCESS) 102 { 99 if(bitmap.LoadBitmap("/mnt/nand/apps/myapp/myapp.bmp", nullptr, invert) != BITMAP_SUCCESS) { 103 100 DisplayText(0, 0, "Error loading bitmap"); 104 101 }