Changeset 521 for abuse/trunk/src/imlib/image.cpp
- Timestamp:
- Apr 21, 2011, 9:03:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/image.cpp
r519 r521 1447 1447 } 1448 1448 1449 void image::make_color(uint8_t color)1450 {1451 uint8_t *sl;1452 int y, x;1453 Lock();1454 for (y=0; y<m_size.y; y++)1455 {1456 sl=scan_line(y);1457 for (x=m_size.x; x; x--, sl++)1458 if (*sl)1459 *sl=color;1460 }1461 Unlock();1462 }
Note: See TracChangeset
for help on using the changeset viewer.