We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f9d01 commit 30aed89Copy full SHA for 30aed89
Src/Source/ToolbarButton.cpp
@@ -488,6 +488,7 @@ WToolbarButton::GetBitmapSetAt(unsigned index)
488
489
BBitmap * WToolbarButton::GetMenuCheckMark(void)
490
{
491
+// clang-format off
492
static const unsigned char kCheckMarkBitmapData[] = {
493
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
494
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x0C, 0xFF, 0xFF,
@@ -502,6 +503,7 @@ BBitmap * WToolbarButton::GetMenuCheckMark(void)
502
503
0xFF, 0xFF, 0xFF, 0x0C, 0x0C, 0x0C, 0x17, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
504
0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x17, 0x17, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
505
};
506
+// clang-format on
507
BBitmap *ret = new BBitmap(BRect(0.0, 0.0, 11.0, 11.0), B_CMAP8);
508
memcpy(ret->Bits(), kCheckMarkBitmapData, 144);
509
return ret;
0 commit comments