47ca0f4169
Now all account menus will have the pretty protocol icons to go with them. :) The icons are scaled to text-size so that they might be displayed in a corresponding MenuButton, or maybe BMenuField at some point, and put into the ImageCache. The menu items do not have ownership of the bitmaps.
21 lines
468 B
C++
21 lines
468 B
C++
/*
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
*/
|
|
#ifndef _ACCOUNT_MENU_ITEM_H
|
|
#define _ACCOUNT_MENU_ITEM_H
|
|
|
|
#include <MenuItem.h>
|
|
|
|
#include <libinterface/BitmapMenuItem.h>
|
|
|
|
|
|
class AccountMenuItem : public BitmapMenuItem {
|
|
public:
|
|
AccountMenuItem(const char* label, BMessage* msg, BBitmap* icon = NULL);
|
|
|
|
virtual void SetMarked(bool mark);
|
|
};
|
|
|
|
#endif // _ACCOUNT_MENU_ITEM_H
|