Skip to content

Commit

Permalink
Make BefacoSlidePotSmall stand out more, handle is even number of pixels
Browse files Browse the repository at this point in the history
So that the handle can be centered on the bg which also has an even number of pixels
  • Loading branch information
danngreen committed Nov 14, 2023
1 parent 1f575e6 commit dc50094
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,41 +23,38 @@

const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BEFACOSLIDEPOTHANDLESMALL uint8_t BefacoSlidePotHandleSmall_map[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49,
0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x08, 0x06,
0x00, 0x00, 0x00, 0xae, 0x95, 0xa7, 0x10, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48,
0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0a, 0x08, 0x06,
0x00, 0x00, 0x00, 0x97, 0x0e, 0x2f, 0x33, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48,
0x59, 0x73, 0x00, 0x00, 0x09, 0x56, 0x00, 0x00, 0x09, 0x56, 0x01, 0x46, 0x1a,
0x79, 0xc0, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6f, 0x66,
0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b,
0x73, 0x63, 0x61, 0x70, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a,
0x00, 0x00, 0x00, 0xf0, 0x49, 0x44, 0x41, 0x54, 0x18, 0x95, 0x55, 0x8e, 0xbb,
0x4a, 0x03, 0x51, 0x18, 0x84, 0xe7, 0x3f, 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 0x5b, 0x9c, 0x73, 0x93, 0xd2,
0xc8, 0xb2, 0x5a, 0x19, 0x43, 0xf1, 0x7e, 0x65, 0xa7, 0x52, 0x31, 0x08, 0x65,
0x81, 0x22, 0xc2, 0x5c, 0x0b, 0x76, 0xca, 0x29, 0x5a, 0x91, 0xa3, 0x7f, 0x28,
0x85, 0x10, 0x63, 0xd4, 0xc3, 0x7e, 0xbf, 0x9d, 0x72, 0x26, 0x00, 0x01, 0xf8,
0x09, 0x81, 0x71, 0x1c, 0x77, 0x66, 0x93, 0xd2, 0xa1, 0x99, 0xe7, 0xb3, 0x0a,
0xcc, 0x40, 0xcc, 0x99, 0xcf, 0x9c, 0x6f, 0x94, 0x88, 0x70, 0xad, 0xd4, 0x6d,
0x0b, 0x97, 0x0a, 0xec, 0xb7, 0xd6, 0x0f, 0xa5, 0xd6, 0xf3, 0x5f, 0xb8, 0xd4,
0x61, 0x84, 0x10, 0x48, 0x3d, 0xb7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e,
0x44, 0xae, 0x42, 0x60, 0x82
};

const lv_img_dsc_t BefacoSlidePotHandleSmall = {
.header.cf = LV_IMG_CF_RAW_ALPHA,
.header.always_zero = 0,
.header.reserved = 0,
.header.w = 7,
.header.h = 12,
.data_size = 355,
.header.w = 6,
.header.h = 10,
.data_size = 317,
.data = BefacoSlidePotHandleSmall_map,
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 10 additions & 9 deletions firmware/src/gui/images/Befaco/components/BefacoSlidePotSmall.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BEFACOSLI
0x52, 0xce, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6f, 0x66,
0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b,
0x73, 0x63, 0x61, 0x70, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a,
0x00, 0x00, 0x00, 0x47, 0x49, 0x44, 0x41, 0x54, 0x28, 0x91, 0xed, 0xc8, 0xc1,
0x0d, 0x40, 0x40, 0x14, 0x04, 0xd0, 0x67, 0xfb, 0xe0, 0x48, 0xff, 0x11, 0x37,
0x6a, 0x70, 0xa3, 0x0b, 0x4b, 0x05, 0x5c, 0x36, 0xf2, 0xa3, 0x03, 0xc9, 0x4e,
0x32, 0xc9, 0xcc, 0x83, 0x01, 0x3b, 0x36, 0xf4, 0x30, 0xe1, 0x2e, 0x1d, 0xe1,
0x0a, 0x70, 0x36, 0x65, 0xbc, 0x49, 0x3e, 0xa9, 0x50, 0xe1, 0xb7, 0x90, 0xc3,
0x3f, 0x12, 0x96, 0x00, 0x33, 0x74, 0x58, 0x4b, 0xdb, 0x07, 0x11, 0x85, 0x0f,
0xc7, 0xcc, 0x5c, 0x53, 0x7b, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
0xae, 0x42, 0x60, 0x82
0x00, 0x00, 0x00, 0x5b, 0x49, 0x44, 0x41, 0x54, 0x28, 0x91, 0xed, 0xc8, 0xc1,
0x0d, 0x40, 0x30, 0x1c, 0x46, 0xf1, 0xf7, 0x35, 0x3d, 0xb3, 0x84, 0x84, 0x21,
0xb8, 0xf7, 0x68, 0x17, 0xd6, 0x60, 0x16, 0x03, 0xb0, 0x12, 0x13, 0xfc, 0x5b,
0x17, 0x89, 0xc6, 0x06, 0x92, 0xbe, 0xdb, 0xfb, 0x29, 0x84, 0xd0, 0x9a, 0xd9,
0x06, 0xa4, 0x18, 0xe3, 0xe8, 0xcd, 0x6c, 0x05, 0x3a, 0x00, 0x49, 0x8b, 0x03,
0x7a, 0x9e, 0x24, 0x0d, 0x0e, 0xa8, 0x78, 0xab, 0x1d, 0x9f, 0x0a, 0x14, 0xf8,
0x2d, 0x5c, 0xd9, 0x9f, 0x0e, 0x38, 0x32, 0xd8, 0x7d, 0x4a, 0x69, 0x92, 0xd4,
0x00, 0x48, 0x9a, 0x6f, 0x53, 0x3d, 0x15, 0x8f, 0x74, 0xfa, 0xd1, 0x54, 0x00,
0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
};

const lv_img_dsc_t BefacoSlidePotSmall = {
Expand All @@ -45,6 +46,6 @@ const lv_img_dsc_t BefacoSlidePotSmall = {
.header.reserved = 0,
.header.w = 4,
.header.h = 49,
.data_size = 186,
.data_size = 206,
.data = BefacoSlidePotSmall_map,
};
Binary file modified firmware/src/gui/images/Befaco/components/BefacoSlidePotSmall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
154 changes: 130 additions & 24 deletions graphics/Befaco/components/BefacoSlidePotHandleSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions graphics/Befaco/components/BefacoSlidePotSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dc50094

Please sign in to comment.