8855464d02
If a room doesn't have a set icon (and it isn't a one-on-one chat, for which the icon'll come from the other user's avatar), the default icon is now determined based on user count. If there's X users, an icon with X people will be displayed, up to four. After that, a "+" is overlayed on the icon. Not really necessary… but I think it's cute. :-)
36 lines
748 B
C
36 lines
748 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,
|
|
|
|
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
|