This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/mcp/gm-mcp-userlist-view.h

43 lines
998 B
C
Raw Normal View History

#ifndef __GM_MCP_USERLIST_VIEW_H__
#define __GM_MCP_USERLIST_VIEW_H__
2005-11-15 12:48:19 +01:00
typedef enum _PlayerStateMask {
USERLIST_STATE_IDLE = 1 << 0,
USERLIST_STATE_BUSY = 1 << 1,
USERLIST_STATE_AWAY = 1 << 2
} PlayerStateMask;
typedef enum _UserlistEvent {
USERLIST_EVENT_NONE = 0,
USERLIST_EVENT_ONLINE = 1 << 0,
USERLIST_EVENT_OFFLINE = 1 << 1,
USERLIST_EVENT_IDLE_ON = 1 << 2,
USERLIST_EVENT_IDLE_OFF = 1 << 3,
USERLIST_EVENT_AWAY_ON = 1 << 4,
USERLIST_EVENT_AWAY_OFF = 1 << 5
} UserlistEvent;
typedef enum _GmUserlistSortType {
GM_USERLIST_SORT_TYPE_STATE_RANK_NAME,
GM_USERLIST_SORT_TYPE_RANK_NAME,
GM_USERLIST_SORT_TYPE_STATE_NAME,
GM_USERLIST_SORT_TYPE_NAME,
GM_USERLIST_SORT_TYPE_NUM
} GmUserlistSortType;
* VERSION CHANGED TO 2.0.9 * po/POTFILES.in: added gnoemoe/dialogs/gm-world-paste-dialog.c and ui/gm-world-paste.glade * po/nl.po: added translations * ui/Makefile.am: * ui/gm-ui.xml: * ui/gm-world-paste.glade: new paste dialog * gnoemoe/mcp/Makefile.include: added gm-cell-renderer-text.[ch] * gnoemoe/mcp/gm-cell-renderer-text.[ch]: new cell renderer for rendering userlist * gnoemoe/mcp/gm-mcp-vmoo-client.c: update metrics in timeout so to reduce the number of updates when resizing * gnoemoe/mcp/gm-mcp-icecrew-serverinfo.c: max version set to 1.0 (1.0 does not actively request the info because it will be send on initialization). Set menu item invisible instead of insensitive when there is no info available * gnoemoe/mcp/gm-mcp-icecrew-userlist.c: fixed menu item substitution * gnoemoe/mcp/gm-mcp-vmoo-userlist.c: removed support for status because it doesn't really support it * gm-mcp-userlist-view.[ch]: moved column constants to header. Render items with new gm-cell-renderer-text. * gnoemoe/mcp/gm-mcp-icecrew-playerdb.[ch]: made gm_mcp_icecrew_playerdb_players public * gnoemoe/dialogs/Makefile.include: added gm-world-paste-dialog * gnoemoe/dialogs/gm-world-paste-dialog.[ch]: new paste dialog * gnoemoe/dialogs/gm-world-properties-dialog.c: * gnoemoe/dialogs/gm-world-logs-dialog.c: fixed leaking tree stores * gnoemoe/widgets/Makefile.include: added gm-commands.[ch] * gnoemoe/widgets/gm-commands.[ch]: new file for handling action activation (removed from gm-app-view) * gnoemoe/widgets/gm-world-view.c: fixed userlist size restore * gnoemoe/widgets/gm-app-view.c: removed action handlers * gnoemoe/gm-support.[ch]: added gm_find_child * gnoemoe/gm-world.c: removed debug message * gnoemoe/gm-ui.h: changed actions to gm-commands
2006-04-23 16:51:04 +02:00
enum {
GM_USERLIST_ICON,
GM_USERLIST_NAME,
GM_USERLIST_STATUS,
GM_USERLIST_ID,
GM_USERLIST_RANK_PRIORITY,
GM_USERLIST_STATE_PRIORITY,
GM_USERLIST_N_COLUMNS
};
2005-11-15 12:48:19 +01:00
void gm_mcp_userlist_view_new(GmMcpPackage *package, GObject *parent);
#endif /* __GM_MCP_USERLIST_VIEW_H__ */