void TBrowserTabs::TreeItemBrowser_DisplayWithinNavigationTree() { //MessageLog_AppendTextFormatCo(d_coChocolate, "TBrowserTabs::TreeItemBrowser_DisplayWithinNavigationTree()"); TreeItemW_DisplayWithinNavigationTree((m_pProfile->m_paTreeItemW_YZ != NULL) ? m_pProfile : NULL); TreeItemW_SetIcon(eMenuAction_DisplaySecureWebBrowsing); }
void TProfile::TreeItemProfile_DisplayProfileInfoWithinNavigationTree() { Endorse(g_pTreeItemProfiles == NULL); // Display the profile at the root rather than under "Profiles" TreeItemW_DisplayWithinNavigationTree(g_pTreeItemProfiles, eMenuIconIdentities); TAccountXmpp * pAccount = NULL; TAccountXmpp ** ppAccountStop; TAccountXmpp ** ppAccount = m_arraypaAccountsXmpp.PrgpGetAccountsStop(OUT &ppAccountStop); while (ppAccount != ppAccountStop) { pAccount = *ppAccount++; pAccount->PGetAlias_NZ()->TreeItemW_DisplayWithinNavigationTreeExpand(this, pAccount->m_strJID, eMenuIconXmpp); } }
void TContact::TreeItemContact_DisplayWithinNavigationTree() { Assert(m_pAccount->EGetRuntimeClass() == RTI(TAccountXmpp)); #if 0 if (m_uFlagsTreeItem != 0) MessageLog_AppendTextFormatSev(eSeverityWarningToErrorLog, "0x$p: TreeItemContact_DisplayWithinNavigationTree($S) - m_uFlagsTreeItem = 0x$x\n", this, &m_strNameDisplayTyped, m_uFlagsTreeItem); #endif if (m_uFlagsTreeItem & FTI_kfObjectInvisible) return; // Don't display hidden contacts TreeItemW_DisplayWithinNavigationTree(m_pAccount); TreeItemChatLog_UpdateTextAndIcon(); if (!m_binXmlRecommendations.FIsEmptyBinary()) Contact_RecommendationsDisplayWithinNavigationTree(); }
void TAccountXmpp::TreeItemAccount_DisplayWithinNavigationTree() { Endorse(g_pTreeItemInbox == NULL); // Display the account at the root of the Navigation Tree TreeItemW_DisplayWithinNavigationTree(g_pTreeItemInbox); TContact ** ppContactStop; TContact ** ppContact = m_arraypaContacts.PrgpGetContactsStop(OUT &ppContactStop); while (ppContact != ppContactStop) { TContact * pContact = *ppContact++; Assert(pContact != NULL); Assert(pContact->EGetRuntimeClass() == RTI(TContact)); Assert(pContact->m_pAccount == this); pContact->TreeItemContact_DisplayWithinNavigationTree(); } // while #ifdef WANT_TREE_NODE_NEW_CONTACT m_pTreeItemContactNew = new TContactNew(this); #endif TGroup ** ppGroupStop; TGroup ** ppGroup = m_arraypaGroups.PrgpGetGroupsStop(OUT &ppGroupStop); while (ppGroup != ppGroupStop) { TGroup * pGroup = *ppGroup++; Assert(pGroup != NULL); Assert(pGroup->EGetRuntimeClass() == RTI(TGroup)); Assert(pGroup->m_pAccount == this); if (pGroup->TreeItemGroup_FCanDisplayWithinNavigationTree()) pGroup->TreeItemGroup_DisplayWithinNavigationTree(); } TreeItemW_ExpandAccordingToSavedState(); TreeItemAccount_UpdateIcon(); #if FIX_THIS // Display the alias as well m_paAlias->TreeItem_DisplayWithinNavigationTree(m_pProfileParent, m_strJID, eMenuIconXmpp); #endif } // TreeItemAccount_DisplayWithinNavigationTree()
void TBrowser::TreeItemBrowser_DisplayWithinNavigationTree() { TreeItemW_DisplayWithinNavigationTree((m_pProfile->m_paTreeItemW_YZ != NULL) ? m_pProfile : NULL); TreeItemW_SetIcon(m_uFlags ? eMenuIconMarketplace : eMenuAction_DisplaySecureWebBrowsing); }
TContactNew::TContactNew(TAccountXmpp * pAccount) { m_pAccount = pAccount; TreeItemW_DisplayWithinNavigationTree(m_pAccount); TreeItemW_SetTextColorAndIcon(d_coGray, eMenuIcon_ContactAdd); }