6d8be225ca
StatusView now allows the selecting of accounts through a MenuButton with BitmapMenuItems― the button for selecting an account is nice and discrete, just showing the bitmap of a protocol (in leiu of a label). No functional changes, other than this menu. I tried making all AccountsMenus use BitmapMenuItems, but that gets unweildy pretty quickly― for now they remain in this menu. Maybe optional ownership of bitmaps in BitmapMenuItems and caching of protocol items would help.
37 lines
772 B
C
37 lines
772 B
C
/*
|
|
* Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _APP_RESOURCES_H
|
|
#define _APP_RESOURCES_H
|
|
|
|
enum {
|
|
kOnlineIcon = 10,
|
|
kAwayIcon = 11,
|
|
kBusyIcon = 12,
|
|
kOfflineIcon = 13,
|
|
|
|
kToolIcon = 20,
|
|
kSearchIcon = 21,
|
|
kAsteriskIcon = 22,
|
|
|
|
kProtocolSettingsTemplate = 1000,
|
|
|
|
kOnlineReplicant = 1200,
|
|
kIconReplicant = 1220,
|
|
kOfflineReplicant = 1300,
|
|
kBusyReplicant = 1333,
|
|
kAwayReplicant = 1400,
|
|
kExitMenuReplicant = 1401,
|
|
kReplicantMessageReceived = 1402,
|
|
|
|
kPersonIcon = 1500,
|
|
kOnePersonIcon = 1501,
|
|
kTwoPeopleIcon = 1502,
|
|
kThreePeopleIcon = 1503,
|
|
kFourPeopleIcon = 1504,
|
|
kMorePeopleIcon = 1505
|
|
};
|
|
|
|
#endif // _APP_RESOURCES_H
|