[Igarden-commit] Garden/source/Document ClientDocument.cpp, 1.6.2.11, 1.6.2.12 CGardenForm.cpp, 1.4
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-10 02:52:42
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27051/source/Document Modified Files: Tag: Release_branch_v1 ClientDocument.cpp CGardenForm.cpp CGardenPanel.h Log Message: Font picker in prferences now changes the list view font in real time. Index: CGardenForm.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CGardenForm.cpp,v retrieving revision 1.4.2.11 retrieving revision 1.4.2.12 diff -C2 -d -r1.4.2.11 -r1.4.2.12 *** CGardenForm.cpp 12 Apr 2008 22:40:04 -0000 1.4.2.11 --- CGardenForm.cpp 10 May 2008 02:52:20 -0000 1.4.2.12 *************** *** 1595,1598 **** --- 1595,1599 ---- Layout *layout; String regionStr; + long n, numPanels; PersistentTags *prefs = static_cast<PersistentTags*>(parg); *************** *** 1607,1610 **** --- 1608,1618 ---- } } + + numPanels = _panels.Length(); + for(n = 0; n < numPanels; n++) + { + _panels[n]->DoPrefsStateChanged(arg, parg); + } + return -1; // Let everyone else hear this } Index: ClientDocument.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/ClientDocument.cpp,v retrieving revision 1.6.2.11 retrieving revision 1.6.2.12 diff -C2 -d -r1.6.2.11 -r1.6.2.12 *** ClientDocument.cpp 16 Apr 2008 02:50:03 -0000 1.6.2.11 --- ClientDocument.cpp 10 May 2008 02:52:17 -0000 1.6.2.12 *************** *** 159,162 **** --- 159,164 ---- _layout = new Layout(this); _prefs = new DocumentTags(); + _prefs->CopyGlobalTags(); + #if JOURNAL_PORT _journal = new JournalDB(this); *************** *** 465,468 **** --- 467,471 ---- _dbOpened = true; _prefs = new DocumentTags(); + _prefs->CopyGlobalTags(); _layout = new Layout(this); #if JOURNAL_PORT *************** *** 1074,1077 **** --- 1077,1081 ---- { _prefs = new DocumentTags(); + _prefs->CopyGlobalTags(); _prefs->ParseXML(data->GetChild()); found = true; Index: CGardenPanel.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CGardenPanel.h,v retrieving revision 1.8.2.5 retrieving revision 1.8.2.6 diff -C2 -d -r1.8.2.5 -r1.8.2.6 *** CGardenPanel.h 19 Mar 2008 01:20:40 -0000 1.8.2.5 --- CGardenPanel.h 10 May 2008 02:52:20 -0000 1.8.2.6 *************** *** 98,101 **** --- 98,102 ---- virtual long DoModifyMenu( long arg, void* parg ); virtual long DoTooltipStart( long arg, void* parg ); + virtual long DoPrefsStateChanged( long arg, void* /*parg*/ ) {} virtual void PrintHeader(XGDraw& draw, UInt32 pageNum, UInt32 maxPages, Point printSize); |