diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-13 21:23:02 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-13 21:23:02 +0100 |
| commit | 470eeff5bd98207c463aeec308de6046bf3f6ac9 (patch) | |
| tree | e3920d1b92c76fa261b423df2cb36846ba7582c6 | |
| parent | e72c327a84d1937c05cc14a5e2ab232584e2cb9d (diff) | |
drag drop ui
| -rw-r--r-- | misc/drop.png | bin | 0 -> 6396 bytes | |||
| -rw-r--r-- | misc/generated/drop.h | 536 | ||||
| -rw-r--r-- | src/definitions.cpp | 6 | ||||
| -rw-r--r-- | src/definitions.h | 3 | ||||
| -rw-r--r-- | src/image.cpp | 5 | ||||
| -rw-r--r-- | src/image.h | 1 | ||||
| -rw-r--r-- | src/main.cpp | 247 |
7 files changed, 678 insertions, 120 deletions
diff --git a/misc/drop.png b/misc/drop.png Binary files differnew file mode 100644 index 0000000..d8b5382 --- /dev/null +++ b/misc/drop.png diff --git a/misc/generated/drop.h b/misc/generated/drop.h new file mode 100644 index 0000000..5b2fb71 --- /dev/null +++ b/misc/generated/drop.h @@ -0,0 +1,536 @@ +unsigned char misc_drop_png[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, + 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, + 0x08, 0x06, 0x00, 0x00, 0x00, 0x5c, 0x72, 0xa8, 0x66, 0x00, 0x00, 0x00, + 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x9d, 0x7a, 0x00, 0x00, 0x9d, + 0x7a, 0x01, 0xee, 0xd8, 0x95, 0x20, 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, 0x18, 0x89, 0x49, + 0x44, 0x41, 0x54, 0x78, 0x9c, 0xed, 0xdd, 0x79, 0xb4, 0x5e, 0x55, 0x79, + 0xc7, 0xf1, 0xef, 0xbd, 0x99, 0x48, 0x48, 0x80, 0x40, 0x90, 0x08, 0x82, + 0x80, 0x40, 0xd0, 0x02, 0x8d, 0x88, 0x18, 0x21, 0x40, 0x50, 0x10, 0xa5, + 0xd2, 0x52, 0x20, 0x48, 0x71, 0x04, 0x81, 0xaa, 0x14, 0x15, 0x4b, 0x55, + 0x40, 0x04, 0x81, 0xaa, 0x55, 0xd0, 0xa5, 0x5d, 0x0d, 0x0b, 0x17, 0x8b, + 0xb4, 0xc8, 0xd4, 0x68, 0x20, 0x05, 0x44, 0xd1, 0x05, 0x42, 0x40, 0xc4, + 0x20, 0x29, 0x8a, 0x48, 0x48, 0x48, 0x82, 0x81, 0x40, 0x08, 0x9a, 0x39, + 0x64, 0xba, 0xc9, 0xdb, 0x3f, 0x9e, 0x7b, 0xcb, 0xcd, 0xcd, 0x3b, 0xec, + 0xbd, 0xcf, 0xb0, 0xcf, 0xf0, 0xfb, 0xac, 0xb5, 0x17, 0x2c, 0x38, 0xf7, + 0xdd, 0xcf, 0x7b, 0x86, 0xe7, 0x3d, 0xe7, 0xec, 0x09, 0xd2, 0x35, 0x0c, + 0x98, 0x00, 0x7c, 0x0e, 0xb8, 0x15, 0x78, 0x14, 0x98, 0x03, 0x2c, 0x05, + 0x7a, 0x80, 0xc6, 0x80, 0xb2, 0x11, 0x98, 0x07, 0x7c, 0x03, 0xd8, 0x39, + 0x41, 0xbd, 0x83, 0x80, 0xb3, 0x81, 0x5f, 0x03, 0x6b, 0x9b, 0xd4, 0xd3, + 0xae, 0x2c, 0x05, 0xa6, 0x01, 0x87, 0x25, 0xa8, 0x9f, 0xde,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bf, + 0x02, 0x5f, 0xf1, 0xfc, 0x7c, 0xc9, 0x58, 0x5a, 0x09, 0x00, 0xec, 0x6d, + 0xf4, 0x71, 0xd8, 0xaf, 0xe1, 0x32, 0xec, 0x17, 0x75, 0x36, 0x76, 0x82, + 0x4b, 0x35, 0xad, 0xc7, 0xfd, 0xae, 0x6d, 0x33, 0xd6, 0x6a, 0xf4, 0x58, + 0x76, 0xe1, 0x88, 0x48, 0x9e, 0x16, 0xe2, 0xf7, 0x88, 0x31, 0x97, 0x6c, + 0x5a, 0x8e, 0x24, 0x90, 0x9a, 0x69, 0x24, 0x89, 0xfd, 0xf0, 0x6b, 0xb5, + 0xd9, 0x05, 0x7b, 0x69, 0xfc, 0x50, 0x36, 0xe1, 0x88, 0x48, 0x9e, 0xf6, + 0xc0, 0xde, 0xef, 0xf8, 0xdc, 0x05, 0xac, 0x20, 0xd9, 0xc8, 0x4f, 0x49, + 0x51, 0xb3, 0x3b, 0x80, 0xc3, 0xb1, 0x2e, 0xbe, 0x47, 0x62, 0xb7, 0x6b, + 0x7d, 0x4d, 0x5c, 0x22, 0x03, 0xad, 0x06, 0x7e, 0x83, 0x8d, 0xdf, 0x18, + 0xec, 0xf8, 0x37, 0xdb, 0x61, 0xad, 0x15, 0xf7, 0x67, 0x15, 0x94, 0x84, + 0xd9, 0x17, 0x6b, 0xb3, 0x1d, 0x98, 0xb1, 0x17, 0xa2, 0xbe, 0xe1, 0xd2, + 0xde, 0x19, 0xf8, 0x35, 0x41, 0x2e, 0x23, 0xbc, 0xc9, 0x57, 0x32, 0x30, + 0x96, 0xf6, 0x3d, 0xea, 0x36, 0x90, 0xfe, 0xa0, 0x17, 0xa9, 0x96, 0xeb, + 0xf0, 0x7b, 0x14, 0x38, 0x25, 0x4e, 0x98, 0xd2, 0xcc, 0x54, 0x3a, 0x1f, + 0xb0, 0x05, 0xe8, 0xa5, 0xa1, 0xb4, 0xb6, 0x3d, 0x7e, 0x93, 0x92, 0xdc, + 0x19, 0x27, 0x4c, 0x19, 0x68, 0x38, 0xd6, 0x56, 0xef, 0x72, 0xd0, 0xf4, + 0x28, 0x20, 0xed, 0x9c, 0x8b, 0x7b, 0x02, 0x58, 0x87, 0xfb, 0x7b, 0x03, + 0xc9, 0xd0, 0xbb, 0x71, 0x3f, 0x68, 0x17, 0x44, 0x8a, 0x51, 0xca, 0x61, + 0x08, 0xf0, 0x12, 0xee, 0xe7, 0xd3, 0x1e, 0x71, 0xc2, 0x94, 0x3e, 0xdd, + 0xf8, 0xb5, 0xe3, 0xba, 0x0e, 0x93, 0x95, 0x7a, 0xda, 0x04, 0xdc, 0xe6, + 0xb8, 0xed, 0x16, 0x60, 0x65, 0x86, 0xb1, 0x88, 0xa3, 0x9b, 0x71, 0xcf, + 0xd8, 0x47, 0x44, 0x8a, 0x51, 0xca, 0x63, 0x1c, 0xd6, 0xed, 0xb7, 0xd3, + 0xb9, 0xf4, 0x48, 0xac, 0x00, 0x65, 0x6b, 0x8f, 0xe1, 0x76, 0xf1, 0x6f, + 0x44, 0x93, 0x45, 0x8a, 0x9b, 0x5b, 0x68, 0x7f, 0x2e, 0x6d, 0xc1, 0xc6, + 0x8d, 0x48, 0x01, 0x3c, 0x8b, 0x5b, 0x02, 0x78, 0x2a, 0x56, 0x80, 0x52, + 0x3a, 0xdb, 0x63, 0x23, 0x2c, 0x9b, 0x9d, 0x47, 0x3d, 0xc0, 0x67, 0xa3, + 0x45, 0x26, 0xdb, 0x68, 0x35, 0x9b, 0xcb, 0xc0, 0xf2, 0x40, 0xac, 0x00, + 0xa5, 0x94, 0x06, 0x63, 0x8b, 0xb5, 0x3c, 0x02, 0xfc, 0x05, 0x1b, 0x72, + 0x3c, 0x0d, 0x9b, 0x46, 0x5e, 0x0a, 0xc4, 0x75, 0x41, 0x8b, 0x3b, 0x62, + 0x05, 0x28, 0x22, 0xd9, 0xe8, 0xc6, 0xbd, 0x2d, 0x36, 0xc9, 0x64, 0x19, + 0x22, 0x52, 0x40, 0x9a, 0xa6, 0x49, 0xa4, 0xc6, 0x94, 0x00, 0x44, 0x6a, + 0x4c, 0x09, 0x40, 0xa4, 0xc6, 0xba, 0xb1, 0x36, 0x59, 0x17, 0xae, 0xdb, + 0x89, 0x48, 0x49, 0x74, 0x03, 0x2f, 0x3b, 0x6e, 0x9b, 0xc5, 0x0a, 0x38, + 0x22, 0x12, 0x51, 0x37, 0xf0, 0x53, 0xc7, 0x6d, 0x7f, 0x96, 0x65, 0x20, + 0x22, 0x12, 0xc7, 0xbe, 0xc0, 0x2a, 0xd4, 0x09, 0x48, 0xa4, 0xb6, 0x8e, + 0xc7, 0x46, 0x66, 0x35, 0xbb, 0xf8, 0x67, 0xe1, 0xbf, 0x5c, 0x96, 0x88, + 0x94, 0xcc, 0xee, 0xc0, 0xb7, 0x80, 0x27, 0x80, 0x79, 0xc0, 0x2f, 0x80, + 0xf3, 0xf0, 0x5b, 0xa8, 0x52, 0xa4, 0x99, 0x9d, 0x80, 0x83, 0xd1, 0xf8, + 0x7f, 0x91, 0x5a, 0x39, 0x18, 0x7b, 0xc7, 0xd4, 0xc3, 0xeb, 0x77, 0x94, + 0xcf, 0x62, 0x4b, 0x87, 0x8b, 0x48, 0x85, 0x1d, 0x4d, 0xfb, 0x05, 0x5b, + 0xbf, 0x11, 0x2f, 0x34, 0x11, 0xc9, 0xd2, 0x48, 0xac, 0x79, 0xb9, 0xd3, + 0x00, 0xb3, 0x13, 0x62, 0x05, 0x28, 0x22, 0xd9, 0xf9, 0x24, 0x6e, 0x23, + 0x4c, 0x5d, 0x9b, 0xa0, 0x25, 0x23, 0xea, 0x0a, 0x2c, 0x59, 0x78, 0x57, + 0xca, 0xdb, 0x49, 0x46, 0x94, 0x00, 0x24, 0x0b, 0x3b, 0x39, 0x6e, 0x37, + 0x3a, 0xd3, 0x28, 0xa4, 0x23, 0x25, 0x00, 0x91, 0x1a, 0x53, 0x02, 0x10, + 0xa9, 0x31, 0x25, 0x00, 0x91, 0x1a, 0x53, 0x02, 0x10, 0xa9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x15, + 0x39, 0x16, 0xe9, 0x67, 0x70, 0xec, 0x00, 0xa4, 0x16, 0x96, 0xf4, 0x16, + 0x29, 0x18, 0xb5, 0x02, 0x88, 0xd4, 0x98, 0x12, 0x80, 0x48, 0x8d, 0x29, + 0x01, 0x88, 0xd4, 0x98, 0x12, 0x80, 0x48, 0x8d, 0x75, 0xe3, 0xde, 0x6d, + 0x73, 0x79, 0x96, 0x81, 0x88, 0x48, 0xfe, 0xba, 0x71, 0xef, 0x8e, 0xe9, + 0xda, 0xbd, 0x53, 0x44, 0x4a, 0xe4, 0x24, 0x3a, 0xf7, 0x01, 0x78, 0x05, + 0x18, 0x15, 0x2b, 0x40, 0x11, 0xc9, 0xd6, 0xf7, 0x69, 0x7d, 0xf1, 0xaf, + 0x03, 0x8e, 0x8b, 0x17, 0x9a, 0x88, 0xe4, 0xe1, 0x3c, 0xac, 0x9b, 0x66, + 0xdf, 0x85, 0xbf, 0x05, 0x78, 0x10, 0x38, 0x34, 0x62, 0x4c, 0x22, 0x92, + 0xa1, 0x81, 0xdd, 0x32, 0xbb, 0x80, 0x03, 0xb0, 0x39, 0x02, 0x16, 0x62, + 0x23, 0xba, 0x44, 0x92, 0x18, 0x0f, 0x4c, 0x06, 0xf6, 0x06, 0x96, 0x01, + 0x0f, 0x00, 0x77, 0x01, 0x9b, 0x23, 0xc6, 0x24, 0x22, 0x19, 0x1b, 0x02, + 0x5c, 0xcf, 0xd6, 0x03, 0x81, 0xfa, 0xca, 0x6c, 0x60, 0x9f, 0x78, 0xa1, + 0x49, 0x1f, 0x0d, 0xcc, 0x90, 0x50, 0x7b, 0x00, 0x47, 0x62, 0x03, 0x7c, + 0xde, 0x04, 0x0c, 0x05, 0x36, 0x62, 0xcd, 0xc5, 0xcf, 0x01, 0x27, 0x00, + 0xa7, 0xb5, 0xf9, 0xfb, 0xf9, 0xc0, 0x3b, 0x80, 0x95, 0xd9, 0x86, 0x29, + 0x22, 0x69, 0x19, 0x0d, 0x7c, 0x11, 0x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 0xdd, 0x8b, 0xdb, 0x7e, 0x5a, 0x1f, 0x2b, 0xc0, + 0x8c, 0x29, 0x01, 0x64, 0xe8, 0x38, 0xfc, 0x6f, 0xc9, 0xf3, 0x4c, 0x02, + 0x4f, 0x25, 0xac, 0xa7, 0x0a, 0x5c, 0xa7, 0x67, 0x5b, 0x19, 0x2b, 0xc0, + 0x8c, 0x29, 0x01, 0x64, 0xa8, 0x1b, 0x7b, 0x4c, 0x2a, 0x62, 0x12, 0xd8, + 0x04, 0x1c, 0x9b, 0xb0, 0x8e, 0x2a, 0x78, 0x12, 0xb7, 0x63, 0xe2, 0xda, + 0x04, 0x5e, 0x36, 0x4a, 0x00, 0x19, 0xf3, 0x99, 0x85, 0x36, 0xed, 0x24, + 0x70, 0x3a, 0xf6, 0xcb, 0x35, 0xf0, 0xb3, 0x97, 0x53, 0xdd, 0xbe, 0xed, + 0xbe, 0xe6, 0xe3, 0x76, 0x3c, 0x5c, 0x47, 0x0e, 0x96, 0x8d, 0x12, 0x40, + 0xc6, 0xba, 0xf0, 0x5b, 0x91, 0x26, 0xed, 0x24, 0x30, 0x06, 0x1b, 0x61, + 0x38, 0xb5, 0xb7, 0x9c, 0x8f, 0x56, 0x71, 0xea, 0xef, 0x55, 0xdc, 0x8e, + 0xc5, 0xaf, 0x63, 0x05, 0x98, 0x31, 0x25, 0x80, 0x1c, 0xec, 0x8f, 0xdf, + 0x54, 0xd4, 0x69, 0x27, 0x01, 0x69, 0x6e, 0x14, 0xd6, 0x89, 0xca, 0xe5, + 0x38, 0xdc, 0x13, 0x29, 0xc6, 0xac, 0x69, 0x34, 0x60, 0x0e, 0xe6, 0x61, + 0x8f, 0x02, 0xae, 0x93, 0x2f, 0xf4, 0x77, 0x32, 0x76, 0x90, 0x94, 0x04, + 0xd2, 0x37, 0x0e, 0xf7, 0x4e, 0x6b, 0x0b, 0xb3, 0x0c, 0xa4, 0x0c, 0x94, + 0x00, 0x92, 0x99, 0x81, 0xcd, 0x0d, 0x18, 0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, + 0xba, 0x9c, 0xf6, 0x40, 0x67, 0x92, 0x4e, 0x12, 0xf8, 0x39, 0x61, 0x8b, + 0x9b, 0xec, 0x83, 0x3d, 0xba, 0xf8, 0xd4, 0x75, 0x33, 0x96, 0xec, 0x7c, + 0x12, 0x00, 0x28, 0x09, 0x84, 0xf0, 0x7d, 0x31, 0x7d, 0x7e, 0x9c, 0x30, + 0xa3, 0x88, 0x36, 0x27, 0xe0, 0x10, 0xe0, 0x2d, 0xd8, 0xa4, 0x95, 0x69, + 0x38, 0x04, 0xeb, 0xcd, 0xf7, 0x12, 0x7e, 0x07, 0x7b, 0x2d, 0xb6, 0xb2, + 0xd1, 0x79, 0xf8, 0x35, 0x3f, 0x0e, 0xb4, 0x23, 0xd6, 0xc4, 0xf4, 0x0c, + 0xad, 0x93, 0xd1, 0x2a, 0x6c, 0x29, 0xaa, 0x33, 0x78, 0xbd, 0x79, 0xc9, + 0x37, 0x01, 0x80, 0x92, 0x80, 0x0f, 0xdf, 0x4e, 0x6a, 0x4b, 0xa8, 0xd7, + 0x0a, 0x57, 0x9a, 0x14, 0x34, 0xb2, 0x90, 0x04, 0x00, 0x1a, 0x4a, 0xec, + 0x62, 0x24, 0x36, 0x31, 0x8d, 0xcf, 0xbe, 0xb9, 0x28, 0x4a, 0xa4, 0xf1, + 0x28, 0x01, 0x44, 0x16, 0x9a, 0x00, 0x20, 0x59, 0x12, 0x98, 0x4e, 0xf5, + 0xa7, 0x79, 0xfb, 0x21, 0xfe, 0xbf, 0xfe, 0x23, 0xa3, 0x44, 0x1a, 0x8f, + 0x12, 0x40, 0x64, 0x49, 0x12, 0x00, 0x24, 0x4b, 0x02, 0x17, 0x67, 0xf1, + 0x85, 0x0a, 0xe2, 0x93, 0xf8, 0xef, 0x8f, 0x90, 0x6e, 0xe0, 0x65, 0xa7, + 0x04, 0x10, 0x59, 0xd2, 0x04, 0x00, 0xe1, 0x49, 0x60, 0x05, 0xd5, 0x7c, + 0x1f, 0x70, 0x30, 0x36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, 0x4f, 0x07, 0x56, 0x36, 0xf9, 0x9c, 0xe5, 0xd8, + 0xfc, 0x81, 0x65, 0x37, 0x96, 0xf0, 0x71, 0x18, 0xd3, 0x22, 0xc4, 0x5b, + 0x44, 0x4a, 0x00, 0x91, 0xbd, 0x0d, 0xf7, 0x03, 0x10, 0x32, 0x43, 0xcd, + 0x18, 0xe0, 0x02, 0xec, 0x5d, 0xc3, 0x54, 0xec, 0x57, 0x2f, 0x64, 0xde, + 0xc5, 0xa2, 0x39, 0x08, 0xff, 0xb7, 0xfd, 0x7d, 0x65, 0x1e, 0xd6, 0x75, + 0x5b, 0x94, 0x00, 0xa2, 0xeb, 0xc6, 0x66, 0x08, 0x76, 0x3d, 0x08, 0x13, + 0xe3, 0x84, 0x59, 0x28, 0x67, 0xe3, 0x3e, 0xad, 0xf7, 0xc0, 0xb2, 0x14, + 0xf7, 0x77, 0x29, 0x75, 0xa0, 0x04, 0x50, 0x00, 0x3f, 0xc6, 0xfd, 0x20, + 0xdc, 0x15, 0x29, 0xc6, 0x22, 0x18, 0x09, 0xdc, 0x44, 0xd8, 0x85, 0xdf, + 0x00, 0x56, 0x03, 0x87, 0xe5, 0x1e, 0x75, 0xb1, 0x29, 0x01, 0x14, 0x80, + 0x4f, 0xb7, 0xd5, 0x2d, 0x54, 0xe3, 0xe5, 0x9d, 0xaf, 0xf7, 0xe2, 0x3f, + 0xb0, 0xa7, 0x7f, 0xd9, 0x00, 0xbc, 0x2f, 0xf7, 0xa8, 0x8b, 0x4f, 0x09, + 0xa0, 0x00, 0x76, 0xc4, 0xaf, 0xeb, 0xea, 0x5c, 0x6c, 0x92, 0x95, 0x3a, + 0xd8, 0x1d, 0xb8, 0x8d, 0xf0, 0x0b, 0xbf, 0x81, 0xb5, 0x86, 0x9c, 0x99, + 0x77, 0xe0, 0x25, 0xa1, 0x04, 0x50, 0x10, 0xb7, 0xe0, 0x77, 0x52, 0xdf, + 0x47, 0xf8, 0x04, 0x2a, 0x65, 0x30, 0x02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0x02, 0xa8, 0xda, 0xcb, + 0xa6, 0x22, 0x3b, 0x14, 0x78, 0x94, 0xe4, 0xb3, 0xf5, 0x34, 0x80, 0x17, + 0xb0, 0x69, 0xd7, 0x57, 0x90, 0xdd, 0x2a, 0x44, 0xc3, 0xb1, 0x4e, 0x3a, + 0xa3, 0xb0, 0xe6, 0xc9, 0x91, 0xe4, 0x7b, 0x27, 0x32, 0x1f, 0x1b, 0xf7, + 0x30, 0x3b, 0xc7, 0x3a, 0xab, 0x62, 0x1a, 0x30, 0x39, 0x76, 0x10, 0xb2, + 0xad, 0xb3, 0x08, 0x5f, 0x75, 0xb8, 0x2e, 0x65, 0x23, 0xf6, 0xd8, 0x33, + 0x2a, 0x70, 0x1f, 0x8b, 0x1e, 0x01, 0x0a, 0xed, 0x62, 0xe2, 0x5f, 0x64, + 0x45, 0x2d, 0x33, 0xb1, 0xf7, 0x09, 0x92, 0x8c, 0x12, 0x40, 0xc1, 0x5d, + 0x41, 0xfc, 0x8b, 0xad, 0x48, 0xe5, 0x15, 0xe0, 0xe3, 0x54, 0xaf, 0xff, + 0x43, 0x2c, 0x4a, 0x00, 0x25, 0xf0, 0x69, 0x6c, 0x52, 0xd0, 0xd8, 0x17, + 0x5f, 0xcc, 0xb2, 0x04, 0xf8, 0x17, 0xea, 0x3d, 0x7d, 0x57, 0x16, 0x94, + 0x00, 0x4a, 0xe2, 0x18, 0xea, 0xf9, 0x4e, 0x60, 0x09, 0xd6, 0x33, 0x70, + 0x44, 0xf2, 0x5d, 0x28, 0x4d, 0x38, 0x27, 0x80, 0x24, 0xeb, 0xe6, 0x49, + 0x72, 0x75, 0x9a, 0xb7, 0xbe, 0x81, 0xb5, 0x82, 0xdc, 0x88, 0x2d, 0xa2, + 0x9a, 0x55, 0xeb, 0x85, 0x78, 0x50, 0x02, 0x90, 0xac, 0xcd, 0xc7, 0x96, + 0xf3, 0xba, 0xb9, 0xf7, 0xdf, 0xa5, 0x40, 0x94, 0x00, 0x24, 0x6d, 0x9b, + 0x81, 0x27, 0xb0, 0xae, 0xc0, 0xf7, 0x60, 0xbf, 0xfa, 0x7a, 0xd6, 0x2c, + 0x28, 0x25, 0x00, 0x49, 0x6a, 0x3d, 0xb6, 0x7c, 0xfa, 0x4c, 0xec, 0xa2, + 0x7f, 0x08, 0x1b, 0xee, 0x2b, 0x25, 0xa0, 0x04, 0x50, 0x1e, 0xb3, 0x81, + 0x59, 0xd8, 0x80, 0x98, 0xbd, 0xb0, 0x2e, 0xc1, 0x23, 0x81, 0xa1, 0x19, + 0xd6, 0xb9, 0x02, 0xfb, 0xf5, 0x5e, 0x01, 0xbc, 0x8a, 0x8d, 0xea, 0x7b, + 0x1e, 0x98, 0x83, 0xcd, 0xe4, 0xf3, 0x2c, 0xb0, 0x08, 0xff, 0x95, 0x8b, + 0xa4, 0x20, 0x94, 0x00, 0xca, 0x63, 0x3e, 0xd6, 0x74, 0x28, 0x92, 0x1a, + 0xad, 0x0d, 0x28, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, + 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, + 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, + 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, + 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, + 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, + 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, + 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, + 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, + 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, + 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, + 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, + 0xa6, 0x04, 0x20, 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x20, + 0x52, 0x63, 0x4a, 0x00, 0x22, 0x35, 0xa6, 0x04, 0x10, 0xdf, 0x66, 0xc7, + 0xed, 0x06, 0x65, 0x1a, 0x85, 0x54, 0x89, 0xeb, 0xb9, 0xb2, 0x59, 0x09, + 0x20, 0xbe, 0x35, 0x8e, 0xdb, 0x8d, 0xcc, 0x34, 0x0a, 0xa9, 0x92, 0x51, + 0x8e, 0xdb, 0xad, 0x51, 0x02, 0x88, 0x6f, 0xad, 0xe3, 0x76, 0xbb, 0x67, + 0x1a, 0x85, 0x54, 0xc9, 0x9b, 0x1c, 0xb7, 0x5b, 0xa5, 0x04, 0x10, 0xdf, + 0x4b, 0x8e, 0xdb, 0xed, 0x07, 0x0c, 0xc9, 0x32, 0x10, 0xa9, 0x84, 0xa1, + 0xc0, 0x5b, 0x1c, 0xb7, 0x7d, 0x59, 0x09, 0x20, 0xbe, 0xb9, 0x8e, 0xdb, + 0x6d, 0x07, 0x1c, 0x9e, 0x65, 0x20, 0x52, 0x09, 0xef, 0xc6, 0x92, 0x80, + 0x8b, 0x67, 0x95, 0x00, 0xe2, 0x7b, 0xc6, 0x63, 0xdb, 0xbf, 0xcd, 0x2c, + 0x0a, 0xa9, 0x8a, 0x93, 0x3c, 0xb6, 0x9d, 0x93, 0x59, 0x14, 0xe2, 0x6c, + 0x12, 0xd0, 0x70, 0x2c, 0x2f, 0xa2, 0xc7, 0x00, 0x69, 0x6d, 0x28, 0xf6,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0x99, 0x43, 0x93, 0xa6, 0x3e, 0xa9, 0x96, 0x61, 0x58, + 0x8f, 0x41, 0xdf, 0x6e, 0xc3, 0x2a, 0xd5, 0x2d, 0xab, 0xb0, 0x1e, 0x7e, + 0xea, 0xf7, 0x51, 0x23, 0x63, 0xb0, 0xbe, 0x02, 0xcb, 0x89, 0x7f, 0x02, + 0xaa, 0xc4, 0x29, 0xcb, 0xb0, 0x81, 0x3d, 0xbb, 0x20, 0xb5, 0xb5, 0x1d, + 0x36, 0x9f, 0xc0, 0xdd, 0xd8, 0x2c, 0x2f, 0xb1, 0x4f, 0x4a, 0x95, 0x6c, + 0xcb, 0x5a, 0x6c, 0x32, 0x8f, 0xc9, 0xa4, 0xf0, 0x92, 0x4f, 0xfd, 0x00, + 0xaa, 0x65, 0x18, 0x30, 0x01, 0x38, 0x12, 0x78, 0x2b, 0x30, 0x0e, 0x18, + 0x8b, 0x0d, 0x14, 0x1a, 0x1d, 0x31, 0x2e, 0xf1, 0xb7, 0x1c, 0x7b, 0xcc, + 0x7b, 0x05, 0x7b, 0xb6, 0x9f, 0x03, 0x3c, 0x02, 0x3c, 0x86, 0xbd, 0x0c, + 0x4e, 0xc5, 0xff, 0x01, 0x13, 0xa4, 0x98, 0x3e, 0xc9, 0x3d, 0x11, 0x45, + 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 +}; +unsigned int misc_drop_png_len = 6396; diff --git a/src/definitions.cpp b/src/definitions.cpp index 9937ec5..761a1c5 100644 --- a/src/definitions.cpp +++ b/src/definitions.cpp @@ -26,4 +26,8 @@ unsigned char* _binary_misc_search_png_end = misc_search_png + misc_search_png_l #include "../misc/generated/folder.h" unsigned char* _binary_misc_folder_png_start = misc_folder_png; -unsigned char* _binary_misc_folder_png_end = misc_folder_png + misc_folder_png_len;
\ No newline at end of file +unsigned char* _binary_misc_folder_png_end = misc_folder_png + misc_folder_png_len; + +#include "../misc/generated/drop.h" +unsigned char* _binary_misc_drop_png_start = misc_drop_png; +unsigned char* _binary_misc_drop_png_end = misc_drop_png + misc_drop_png_len;
\ No newline at end of file diff --git a/src/definitions.h b/src/definitions.h index d139284..7a95c3b 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -25,4 +25,7 @@ extern unsigned char* _binary_misc_search_png_end; extern unsigned char* _binary_misc_folder_png_start; extern unsigned char* _binary_misc_folder_png_end; + +extern unsigned char* _binary_misc_drop_png_start; +extern unsigned char* _binary_misc_drop_png_end; } diff --git a/src/image.cpp b/src/image.cpp index 1203df2..238232e 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -8,6 +8,7 @@ ts_image img_logo; ts_image img_search; ts_image img_folder; +ts_image img_drop; // Simple helper function to load an image into a OpenGL texture with common settings static bool _ts_load_texture(unsigned char* data, size_t size, GLuint* out_texture, int* out_width, int* out_height) @@ -66,6 +67,10 @@ void ts_load_images() { data = (unsigned char *)_binary_misc_folder_png_start; img_folder = _ts_load_image(data, size); + size = _binary_misc_drop_png_end - _binary_misc_drop_png_start; + data = (unsigned char *)_binary_misc_drop_png_start; + img_drop = _ts_load_image(data, size); + ifd::FileDialog::Instance().CreateTexture = [](uint8_t* data, int w, int h, char fmt) -> void* { GLuint tex; diff --git a/src/image.h b/src/image.h index b702b57..a3831cb 100644 --- a/src/image.h +++ b/src/image.h @@ -31,6 +31,7 @@ typedef struct t_ts_image { extern ts_image img_logo; extern ts_image img_search; extern ts_image img_folder; +extern ts_image img_drop; void ts_load_images(); diff --git a/src/main.cpp b/src/main.cpp index 4365f2a..4d28a3c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -222,7 +222,7 @@ static int _ts_create_menu(int window_w, int window_h) { ImGui::EndPopup(); } - return menu_bar_h; + return menu_bar_h + 15; } void ts_init() { @@ -405,100 +405,146 @@ void _ts_create_text_match_rows() { _ts_create_file_error_rows(); } -void ts_create_gui(int window_w, int window_h) { - int window_pad = 50; - int textbox_area_height = 80; - int statusbar_area_height = 30; - int result_area_height = window_h - textbox_area_height - statusbar_area_height - window_pad; - - ImGui::SetNextWindowSize({(float)window_w, (float)window_h}); - ImGui::SetNextWindowPos({0, 0}); - +int _ts_create_textbox_area(int window_w, int window_h, int textbox_area_height, float pos_y) +{ ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(5, 5)); - ImGui::PushStyleVar(ImGuiStyleVar_WindowMinSize, ImVec2(0.f, 0.f)); - ImGui::Begin("text-search", NULL, ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_NoMove|ImGuiWindowFlags_NoResize|ImGuiWindowFlags_NoScrollbar| - ImGuiWindowFlags_MenuBar); - ImGui::PopStyleVar(); - int menu_bar_h = _ts_create_menu(window_w, window_h); + float offset = 15.0f; + float separator_w = 10.0f; + float frame_w = window_w/2.5f - offset - separator_w/2.0f; + ImGui::SetNextWindowPos({offset, pos_y}); + ImGui::BeginChild("search-boxes", ImVec2((float)frame_w, (float)textbox_area_height), false); + { + ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f); + ImGui::PushItemWidth(-1); + + bool dir_exists = ts_platform_dir_exists(path_buffer); + if (!dir_exists) ImGui::PushStyleColor(ImGuiCol_Border, ImGui::Spectrum::Color(0xCC2222)); + ImGui::InputTextWithHint("path-ti", "Path", path_buffer, MAX_INPUT_LENGTH); + if (!dir_exists) ImGui::PopStyleColor(); + ImGui::PopItemWidth(); + ImGui::SetItemTooltip("Absolute path to directory to search"); + + ImGui::PushItemWidth(-1); + if (ImGui::InputTextWithHint("query", "Query", query_buffer, MAX_INPUT_LENGTH, ImGuiInputTextFlags_CallbackEdit|ImGuiInputTextFlags_EnterReturnsTrue, _tb_query_input_cb)) { + ts_start_search(path_buffer, filter_buffer, query_buffer, ts_thread_count, max_file_size, respect_capitalization); + } + ImGui::PopItemWidth(); + ImGui::SetItemTooltip("Text to search within files, supports '*' & '?' wildcards"); + ImGui::PopStyleVar(); + } + ImGui::EndChild(); - float pos_y = 0; - pos_y += menu_bar_h + 15.0f; + ImGui::SetNextWindowPos({offset + frame_w + separator_w, pos_y}); + ImGui::BeginChild("search-boxes2", ImVec2((float)frame_w, (float)textbox_area_height), false); + { + ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f); + if (ImGui::ImageButton("Folder", (void*)(intptr_t)img_folder.id, ImVec2(18.0f, 18.0f))) { + ifd::FileDialog::Instance().Open("FolderSelectDialog", "Select a directory", ""); + } + if (ifd::FileDialog::Instance().IsDone("FolderSelectDialog", window_w, window_h)) { + if (ifd::FileDialog::Instance().HasResult()) { + std::string res = ifd::FileDialog::Instance().GetResult().u8string(); + snprintf(path_buffer, MAX_INPUT_LENGTH, "%s", res.c_str()); + } + ifd::FileDialog::Instance().Close(); + } - { // Search boxes - ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(5, 5)); + ImGui::SameLine(); + ImGui::PushItemWidth(-1); + if (ImGui::InputTextWithHint("filter-ti", "Filter", filter_buffer, MAX_INPUT_LENGTH, ImGuiInputTextFlags_EnterReturnsTrue)) { + ts_start_search(path_buffer, filter_buffer, query_buffer, ts_thread_count, max_file_size, respect_capitalization); + } + ImGui::PopItemWidth(); + ImGui::SetItemTooltip("Files to filter, supports '*' & '?' wildcards"); + ImGui::PopStyleVar(); - float offset = 15.0f; - float separator_w = 10.0f; - float frame_w = window_w/2.5f - offset - separator_w/2.0f; - ImGui::SetNextWindowPos({offset, pos_y}); - ImGui::BeginChild("search-boxes", ImVec2((float)frame_w, (float)textbox_area_height), false); - { + if (current_search_result && !current_search_result->search_completed) { + ImGui::Text("%c", "|/-\\"[(int)(ImGui::GetTime() / 0.05f) & 3]); + } + else { ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f); - ImGui::PushItemWidth(-1); - - bool dir_exists = ts_platform_dir_exists(path_buffer); - if (!dir_exists) ImGui::PushStyleColor(ImGuiCol_Border, ImGui::Spectrum::Color(0xCC2222)); - ImGui::InputTextWithHint("path-ti", "Path", path_buffer, MAX_INPUT_LENGTH); - if (!dir_exists) ImGui::PopStyleColor(); - ImGui::PopItemWidth(); - ImGui::SetItemTooltip("Absolute path to directory to search"); - - ImGui::PushItemWidth(-1); - if (ImGui::InputTextWithHint("query", "Query", query_buffer, MAX_INPUT_LENGTH, ImGuiInputTextFlags_CallbackEdit|ImGuiInputTextFlags_EnterReturnsTrue, _tb_query_input_cb)) { + if (ImGui::ImageButton("Search", (void*)(intptr_t)img_search.id, ImVec2(18.0f, 18.0f))) { ts_start_search(path_buffer, filter_buffer, query_buffer, ts_thread_count, max_file_size, respect_capitalization); } - ImGui::PopItemWidth(); - ImGui::SetItemTooltip("Text to search within files, supports '*' & '?' wildcards"); ImGui::PopStyleVar(); } - ImGui::EndChild(); + + ImGui::SameLine(); + ImGui::SetCursorPosX(36); + ImGui::ToggleButton("Aa", &respect_capitalization); + ImGui::SetItemTooltip("Match Case"); + } + ImGui::EndChild(); - ImGui::SetNextWindowPos({offset + frame_w + separator_w, pos_y}); - ImGui::BeginChild("search-boxes2", ImVec2((float)frame_w, (float)textbox_area_height), false); - { - ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f); - if (ImGui::ImageButton("Folder", (void*)(intptr_t)img_folder.id, ImVec2(18.0f, 18.0f))) { - ifd::FileDialog::Instance().Open("FolderSelectDialog", "Select a directory", ""); - } - if (ifd::FileDialog::Instance().IsDone("FolderSelectDialog", window_w, window_h)) { - if (ifd::FileDialog::Instance().HasResult()) { - std::string res = ifd::FileDialog::Instance().GetResult().u8string(); - snprintf(path_buffer, MAX_INPUT_LENGTH, "%s", res.c_str()); - } - ifd::FileDialog::Instance().Close(); - } + ImGui::PopStyleVar(); - ImGui::SameLine(); - ImGui::PushItemWidth(-1); - if (ImGui::InputTextWithHint("filter-ti", "Filter", filter_buffer, MAX_INPUT_LENGTH, ImGuiInputTextFlags_EnterReturnsTrue)) { - ts_start_search(path_buffer, filter_buffer, query_buffer, ts_thread_count, max_file_size, respect_capitalization); - } - ImGui::PopItemWidth(); - ImGui::SetItemTooltip("Files to filter, supports '*' & '?' wildcards"); - ImGui::PopStyleVar(); + return textbox_area_height + 7; +} - if (current_search_result && !current_search_result->search_completed) { - ImGui::Text("%c", "|/-\\"[(int)(ImGui::GetTime() / 0.05f) & 3]); - } - else { - ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0f); - if (ImGui::ImageButton("Search", (void*)(intptr_t)img_search.id, ImVec2(18.0f, 18.0f))) { - ts_start_search(path_buffer, filter_buffer, query_buffer, ts_thread_count, max_file_size, respect_capitalization); - } - ImGui::PopStyleVar(); - } - - ImGui::SameLine(); - ImGui::SetCursorPosX(36); - ImGui::ToggleButton("Aa", &respect_capitalization); - ImGui::SetItemTooltip("Match Case"); - } - ImGui::EndChild(); +void _ts_update_dragdrop() { + if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceExtern)) // we use an external source (i.e. not ImGui-created) + { + ImGui::SetDragDropPayload("FILES", nullptr, 0); + ImGui::EndDragDropSource(); + } - ImGui::PopStyleVar(); + { + float img_size = 256.0f; + ImGui::Separator(); + ImGui::SetCursorPosX((ImGui::GetWindowWidth() - img_size) / 2.0f); + ImGui::SetCursorPosY((ImGui::GetWindowHeight() - img_size) / 2.0f); + ImGui::Image((void*)(intptr_t)img_drop.id, {img_size, img_size}, ImVec2(0, 0), ImVec2(1, 1), ImVec4(1, 1, 1, 0.2f)); + } +} + +void _ts_create_statusbar(int window_w, int window_h, int statusbar_area_height, float pos_y) { + ImGui::SetNextWindowPos({0, pos_y}); + + ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6, 6)); + ImGui::BeginChild("search-statusbar", ImVec2((float)window_w, (float)statusbar_area_height), ImGuiChildFlags_None, ImGuiWindowFlags_None); + ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 7.0f); + ImGui::SetCursorPosX(ImGui::GetCursorPosX() + 10.0f); + if (current_search_result) { + if (current_search_result->search_text) ImGui::Text("Found %d matches in %d files", current_search_result->match_count, current_search_result->file_count); + else ImGui::Text("Found %d files", current_search_result->files.length); + } + else ImGui::Text("No search completed"); + + ImGui::SameLine(); + + if (current_search_result) { + if (current_search_result->is_saving) { + ImGui::SetCursorPosX(window_w - 20.0f - ImGui::CalcTextSize("Saving |").x); + ImGui::Text("Saving %c", "|/-\\"[(int)(ImGui::GetTime() / 0.05f) & 3]); + } + else if (current_search_result->search_completed) { + ImGui::SetCursorPosX(window_w - 10.0f - ImGui::CalcTextSize("999.999s elapsed").x); + ImGui::Text("%.3fs elapsed", current_search_result->timestamp/1000.0f); + } } - pos_y += textbox_area_height + 7; + ImGui::EndChild(); + ImGui::PopStyleVar(); +} + +void ts_create_gui(int window_w, int window_h) { + int window_pad = 50; + int textbox_area_height = 80; + int statusbar_area_height = 30; + float pos_y = 0; + int result_area_height = window_h - textbox_area_height - statusbar_area_height - window_pad; + + ImGui::SetNextWindowSize({(float)window_w, (float)window_h}); + ImGui::SetNextWindowPos({0, 0}); + + ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(5, 5)); + ImGui::PushStyleVar(ImGuiStyleVar_WindowMinSize, ImVec2(0.f, 0.f)); + ImGui::Begin("text-search", NULL, ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_NoMove|ImGuiWindowFlags_NoResize|ImGuiWindowFlags_NoScrollbar| + ImGuiWindowFlags_MenuBar); + ImGui::PopStyleVar(); + + pos_y += _ts_create_menu(window_w, window_h); + pos_y += _ts_create_textbox_area(window_w, window_h, textbox_area_height, pos_y); if (dragdrop_data.did_drop) { printf("Do loading..\n"); @@ -507,16 +553,7 @@ void ts_create_gui(int window_w, int window_h) { if (dragdrop_data.is_dragging_file) { - if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceExtern)) // we use an external source (i.e. not ImGui-created) - { - ImGui::SetDragDropPayload("FILES", nullptr, 0); - ImGui::BeginTooltip(); - ImGui::Text("Drop to load file"); - ImGui::EndTooltip(); - ImGui::EndDragDropSource(); - } - - ImGui::Text("Drag test"); + _ts_update_dragdrop(); } else if (current_search_result) { // Results @@ -559,36 +596,8 @@ void ts_create_gui(int window_w, int window_h) { } pos_y += result_area_height; - { // Statusbar - ImGui::SetNextWindowPos({0, pos_y}); - - ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6, 6)); - ImGui::BeginChild("search-statusbar", ImVec2((float)window_w, (float)statusbar_area_height), ImGuiChildFlags_None, ImGuiWindowFlags_None); - ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 7.0f); - ImGui::SetCursorPosX(ImGui::GetCursorPosX() + 10.0f); - if (current_search_result) { - if (current_search_result->search_text) ImGui::Text("Found %d matches in %d files", current_search_result->match_count, current_search_result->file_count); - else ImGui::Text("Found %d files", current_search_result->files.length); - } - else ImGui::Text("No search completed"); - - ImGui::SameLine(); - - if (current_search_result) { - if (current_search_result->is_saving) { - ImGui::SetCursorPosX(window_w - 20.0f - ImGui::CalcTextSize("Saving |").x); - ImGui::Text("Saving %c", "|/-\\"[(int)(ImGui::GetTime() / 0.05f) & 3]); - } - else if (current_search_result->search_completed) { - ImGui::SetCursorPosX(window_w - 10.0f - ImGui::CalcTextSize("999.999s elapsed").x); - ImGui::Text("%.3fs elapsed", current_search_result->timestamp/1000.0f); - } - } - ImGui::EndChild(); - ImGui::PopStyleVar(); - } + _ts_create_statusbar(window_w, window_h, statusbar_area_height, pos_y); ImGui::PopStyleVar(); - ImGui::End(); }
\ No newline at end of file |
