Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added comments to describe functions in contacteditor/frmContactEditor-Other.cpp
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditor-Logo.cpp
diff --git
a/source/contacteditor/frmContactEditor-Logo.cpp
b/source/contacteditor/frmContactEditor-Logo.cpp
index
2f02a8a
..
e75a6a0
100644
(file)
--- a/
source/contacteditor/frmContactEditor-Logo.cpp
+++ b/
source/contacteditor/frmContactEditor-Logo.cpp
@@
-23,6
+23,8
@@
void frmContactEditor::LoadLogo( wxListEvent& event )
{
void frmContactEditor::LoadLogo( wxListEvent& event )
{
+ // Load the logo.
+
long longSelected = -1;
int intSelectedData = 0;
long longSelected = -1;
int intSelectedData = 0;
@@
-44,8
+46,7
@@
void frmContactEditor::LoadLogo( wxListEvent& event )
wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size());
wxImage photo;
wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size());
wxImage photo;
- //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size());
-
+
if (pictypeiter->second == wxT("image/jpeg")){
if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
if (pictypeiter->second == wxT("image/jpeg")){
if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
@@
-83,6
+84,9
@@
void frmContactEditor::LoadLogo( wxListEvent& event )
void frmContactEditor::AddLogo( wxCommandEvent& event )
{
void frmContactEditor::AddLogo( wxCommandEvent& event )
{
+
+ // Bring up the window to add a logo.
+
int intResult = 0;
frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
int intResult = 0;
frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
@@
-109,6
+113,8
@@
void frmContactEditor::AddLogo( wxCommandEvent& event )
void frmContactEditor::ModifyLogo( wxCommandEvent& event )
{
void frmContactEditor::ModifyLogo( wxCommandEvent& event )
{
+ // Bring up the window to modify a logo.
+
long longSelected = -1;
int intSelectedData = 0;
long longSelected = -1;
int intSelectedData = 0;
@@
-141,6
+147,8
@@
void frmContactEditor::ModifyLogo( wxCommandEvent& event )
void frmContactEditor::DeleteLogo( wxCommandEvent& event )
{
void frmContactEditor::DeleteLogo( wxCommandEvent& event )
{
+ // Bring up a window to delete a logo.
+
long longSelected = -1;
int intSelectedData = 0;
long longSelected = -1;
int intSelectedData = 0;
@@
-168,6
+176,8
@@
void frmContactEditor::DeleteLogo( wxCommandEvent& event )
void frmContactEditor::SaveLogo( wxCommandEvent &event )
{
void frmContactEditor::SaveLogo( wxCommandEvent &event )
{
+ // Save the logo to a file.
+
long longSelected = -1;
int intSelectedData = 0;
long longSelected = -1;
int intSelectedData = 0;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy