[Igarden-commit] CommonSource/YAAFExtensions RGColorCell.h, 1.4, 1.5 RGTableView.h, 1.18, 1.19
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-02-22 04:02:42
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21653 Modified Files: RGColorCell.h RGTableView.h Log Message: Win32 changes Index: RGColorCell.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGColorCell.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RGColorCell.h 7 Oct 2006 23:44:27 -0000 1.4 --- RGColorCell.h 22 Feb 2007 04:02:41 -0000 1.5 *************** *** 21,25 **** #include "RGTableCell.h" ! class RGColorCell : public RGTableCell { public: --- 21,25 ---- #include "RGTableCell.h" ! class YAAF_API RGColorCell : public RGTableCell { public: Index: RGTableView.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGTableView.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** RGTableView.h 7 Oct 2006 23:48:02 -0000 1.18 --- RGTableView.h 22 Feb 2007 04:02:41 -0000 1.19 *************** *** 51,54 **** --- 51,57 ---- class RGString; + using yaaf::RGInlineEdit; + using yaaf::XGView; + /************************************************************************/ /* */ *************** *** 57,64 **** /************************************************************************/ ! #define KTableChange 'Tcha' ! #define KTableRowMove 'Trmv' ! #define kTableSelectChange 'Tsch' ! #define kTableInputErr 'TsIE' /************************************************************************/ --- 60,67 ---- /************************************************************************/ ! #define KTableChange CHAR4('T','c','h','a') ! #define KTableRowMove CHAR4('T','r','m','v') ! #define kTableSelectChange CHAR4('T','s','c','h') ! #define kTableInputErr CHAR4('T','s','I','E') /************************************************************************/ *************** *** 100,104 **** }; - /************************************************************************/ /* */ --- 103,106 ---- *************** *** 113,117 **** */ ! class RGTableView : public XGView, public XGSend { public: RGTableView(XGView *, XGArgStream &); --- 115,119 ---- */ ! class YAAF_API RGTableView : public XGView, public XGSend { public: RGTableView(XGView *, XGArgStream &); *************** *** 122,130 **** RGTableView(const RGTableView& p); // copy constructor public: ! ! enum { ! kClassID = 'GTab' ! }; ! bool HasUndo() { return _undoer != NULL; } void SetDialogCallback(RGPDialogCallbackProc proc, void *callbackContext); --- 124,132 ---- RGTableView(const RGTableView& p); // copy constructor public: ! ! enum { ! kClassID = CHAR4('G','T','a','b') //'GTab' ! }; ! bool HasUndo() { return _undoer != NULL; } void SetDialogCallback(RGPDialogCallbackProc proc, void *callbackContext); *************** *** 195,199 **** void ShowRow(short row); virtual bool isRowVisible(short row); ! // virtual void SetCell(short row, short col, RGTableCell *cell); RGTableCell *GetCell(short row, short col); --- 197,201 ---- void ShowRow(short row); virtual bool isRowVisible(short row); ! // virtual void SetCell(short row, short col, RGTableCell *cell); RGTableCell *GetCell(short row, short col); *************** *** 222,226 **** } void SetSelectRow(short, short col = -1); ! void Update(); // Make proected friend to cell!!! XGPopWindow *_imagePopup; // Make proected friend to cell!!! --- 224,228 ---- } void SetSelectRow(short, short col = -1); ! void Update(); // Make proected friend to cell!!! XGPopWindow *_imagePopup; // Make proected friend to cell!!! *************** *** 262,266 **** void RecalcScroll(); void ScrollInRange(); ! void SetDataType(short row, short col, short type); --- 264,268 ---- void RecalcScroll(); void ScrollInRange(); ! void SetDataType(short row, short col, short type); |