X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fgetcontactinfo.cpp;h=a07ec4a87daf5eb437d7c07c5bbae612e044477b;hb=ea5f276a69989d4e5797b49083322bac2c9a820c;hp=b9972793724379eba6d04323c6bca9ab452b58a0;hpb=8586a29ba7c4a3e79bb64ed915e1bfbb44d49540;p=xestiaab%2F.git diff --git a/source/common/getcontactinfo.cpp b/source/common/getcontactinfo.cpp index b997279..a07ec4a 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, wxColour 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 != wxTransparentColour){ + PageData.append("
"); + } else { + PageData.append("
"); + } if (DataDisplay == TRUE){