X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcommon%2Fgetcontactinfo.cpp;h=1b4a5e6fe822a71e21b1e736cb391e84cf0da70a;hp=b9972793724379eba6d04323c6bca9ab452b58a0;hb=d1663f3d3931bb05c791ef2c86926a22932c6014;hpb=56ae8d824bd9183aa8658dccda528fba2548d834 diff --git a/source/common/getcontactinfo.cpp b/source/common/getcontactinfo.cpp index b997279..1b4a5e6 100644 --- a/source/common/getcontactinfo.cpp +++ b/source/common/getcontactinfo.cpp @@ -32,13 +32,14 @@ #include "../vcard/vcard34conv.h" void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID, - wxString OldSID, std::map *MemoryFSList){ + wxString OldSID, std::map *MemoryFSList, wxString backgroundColour){ // Load the vCard contact data into the wxHTMLWindow given. // Show message to user that the contact information is loading. HTMLObj->SetBorders(0); + HTMLObj->SetBackgroundColour(wxColour(160,160,160,0)); wxString PageData; @@ -467,6 +468,8 @@ void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID, } + // TODO: Setup the second table. + // Process Birthday ContactData = vCardObj->GetByPartial(wxT("BDAY")); @@ -551,7 +554,13 @@ void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID, } - PageData.append("
"); + if (!backgroundColour.IsEmpty()){ + PageData.append("
"); + } else { + PageData.append("
"); + } if (DataDisplay == TRUE){