rename PixelGrid to Bitmap
This commit is contained in:
parent
f64ce6e57e
commit
bd0ecd77d2
23 changed files with 1037 additions and 1042 deletions
|
@ -6,8 +6,8 @@ int main(void) {
|
|||
if (connection == NULL)
|
||||
return 1;
|
||||
|
||||
SPPixelGrid *pixels = sp_pixel_grid_new(SP_PIXEL_WIDTH, SP_PIXEL_HEIGHT);
|
||||
sp_pixel_grid_fill(pixels, true);
|
||||
SPBitmap *pixels = sp_bitmap_new(SP_PIXEL_WIDTH, SP_PIXEL_HEIGHT);
|
||||
sp_bitmap_fill(pixels, true);
|
||||
|
||||
SPCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, SP_COMPRESSION_CODE_UNCOMPRESSED);
|
||||
while (sp_connection_send_command(connection, sp_command_clone(command)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue