#include <inplace_edit_v2.h>
|
void | TableEdit_Abort (bool forwardContent) |
|
virtual bool | TableEdit_Advance (t_size &item, t_size &subItem, t_uint32 whathappened) |
|
virtual void | TableEdit_Finished () |
|
virtual bool | TableEdit_GetAutoComplete (t_size item, t_size subItem, pfc::com_ptr_t< IUnknown > &out) |
|
virtual t_size | TableEdit_GetColumnCount () const =0 |
|
virtual void | TableEdit_GetColumnOrder (t_size *out, t_size count) const |
|
virtual t_uint32 | TableEdit_GetEditFlags (t_size item, t_size subItem) const |
|
virtual void | TableEdit_GetField (t_size item, t_size subItem, pfc::string_base &out, t_size &lineCount)=0 |
|
virtual t_size | TableEdit_GetItemCount () const =0 |
|
virtual RECT | TableEdit_GetItemRect (t_size item, t_size subItem) const =0 |
|
virtual HWND | TableEdit_GetParentWnd () const =0 |
|
bool | TableEdit_IsActive () const |
|
virtual bool | TableEdit_IsColumnEditable (t_size subItem) const |
|
virtual void | TableEdit_SetField (t_size item, t_size subItem, const char *value)=0 |
|
virtual void | TableEdit_SetItemFocus (t_size item, t_size subItem)=0 |
|
void | TableEdit_Start (t_size item, t_size subItem) |
|
|
static const unsigned | KTaskID = 0x6f0a3de6 |
|
Definition at line 2 of file inplace_edit_v2.h.
void InPlaceEdit::CTableEditHelperV2::_ReStart |
( |
| ) |
|
|
private |
Definition at line 71 of file inplace_edit_v2.cpp.
83 rc.bottom = rc.top + (rc.bottom - rc.top) * lineCount;
virtual t_uint32 TableEdit_GetEditFlags(t_size item, t_size subItem) const
virtual t_size TableEdit_GetColumnCount() const =0
virtual t_size TableEdit_GetItemCount() const =0
virtual bool TableEdit_GetAutoComplete(t_size item, t_size subItem, pfc::com_ptr_t< IUnknown > &out)
static const unsigned KTaskID
pfc::rcptr_t< pfc::string8 > m_editData
HWND StartEx(HWND p_parentwnd, const RECT &p_rect, unsigned p_flags, pfc::rcptr_t< pfc::string_base > p_content, completion_notify_ptr p_notify, IUnknown *ACData=NULL, DWORD ACOpts=0)
completion_notify_ptr create_task(unsigned p_id)
virtual HWND TableEdit_GetParentWnd() const =0
virtual void TableEdit_SetItemFocus(t_size item, t_size subItem)=0
virtual RECT TableEdit_GetItemRect(t_size item, t_size subItem) const =0
virtual void TableEdit_GetField(t_size item, t_size subItem, pfc::string_base &out, t_size &lineCount)=0
t_size InPlaceEdit::CTableEditHelperV2::ColumnToPosition |
( |
t_size |
col | ) |
const |
|
private |
Definition at line 5 of file inplace_edit_v2.cpp.
10 const t_size curCol = colOrder[walk];
12 if (curCol == col)
return skipped;
16 PFC_ASSERT( !
"Should not get here." );
virtual bool TableEdit_IsColumnEditable(t_size subItem) const
void GrabColumnOrder(pfc::array_t< t_size > &buffer) const
t_size InPlaceEdit::CTableEditHelperV2::EditableColumnCount |
( |
| ) |
const |
|
private |
Definition at line 32 of file inplace_edit_v2.cpp.
35 for(
t_size walk = 0; walk < total; ++walk) {
virtual t_size TableEdit_GetColumnCount() const =0
virtual bool TableEdit_IsColumnEditable(t_size subItem) const
void InPlaceEdit::CTableEditHelperV2::GrabColumnOrder |
( |
pfc::array_t< t_size > & |
buffer | ) |
const |
|
inlineprivate |
Definition at line 26 of file inplace_edit_v2.h.
const t_item * get_ptr() const
virtual t_size TableEdit_GetColumnCount() const =0
void set_size(t_size p_size)
virtual void TableEdit_GetColumnOrder(t_size *out, t_size count) const
void InPlaceEdit::CTableEditHelperV2::on_task_completion |
( |
unsigned |
p_id, |
|
|
unsigned |
p_status |
|
) |
| |
|
protectedvirtual |
Reimplemented from completion_notify_receiver.
Definition at line 92 of file inplace_edit_v2.cpp.
void orphan_task(unsigned p_id)
virtual void TableEdit_Finished()
virtual void TableEdit_SetField(t_size item, t_size subItem, const char *value)=0
static const unsigned KTaskID
pfc::rcptr_t< pfc::string8 > m_editData
virtual bool TableEdit_Advance(t_size &item, t_size &subItem, t_uint32 whathappened)
t_size InPlaceEdit::CTableEditHelperV2::PositionToColumn |
( |
t_size |
pos | ) |
const |
|
private |
Definition at line 19 of file inplace_edit_v2.cpp.
23 const t_size curCol = colOrder[walk];
25 if (skipped == pos)
return curCol;
29 PFC_ASSERT( !
"Should not get here." );
virtual bool TableEdit_IsColumnEditable(t_size subItem) const
void GrabColumnOrder(pfc::array_t< t_size > &buffer) const
void InPlaceEdit::CTableEditHelperV2::TableEdit_Abort |
( |
bool |
forwardContent | ) |
|
Definition at line 49 of file inplace_edit_v2.cpp.
bool have_task(unsigned p_id) const
void orphan_task(unsigned p_id)
virtual void TableEdit_Finished()
virtual void TableEdit_SetField(t_size item, t_size subItem, const char *value)=0
static const unsigned KTaskID
pfc::rcptr_t< pfc::string8 > m_editData
bool InPlaceEdit::CTableEditHelperV2::TableEdit_Advance |
( |
t_size & |
item, |
|
|
t_size & |
subItem, |
|
|
t_uint32 |
whathappened |
|
) |
| |
|
virtual |
Definition at line 41 of file inplace_edit_v2.cpp.
43 unsigned _item((
unsigned)item), _subItem((
unsigned)
ColumnToPosition(subItem));
t_size ColumnToPosition(t_size col) const
t_size PositionToColumn(t_size pos) const
t_size EditableColumnCount() const
virtual t_size TableEdit_GetItemCount() const =0
bool TableEditAdvance(unsigned &p_item, unsigned &p_column, unsigned p_item_count, unsigned p_column_count, unsigned p_whathappened)
virtual void InPlaceEdit::CTableEditHelperV2::TableEdit_Finished |
( |
| ) |
|
|
inlinevirtual |
virtual bool InPlaceEdit::CTableEditHelperV2::TableEdit_GetAutoComplete |
( |
t_size |
item, |
|
|
t_size |
subItem, |
|
|
pfc::com_ptr_t< IUnknown > & |
out |
|
) |
| |
|
inlinevirtual |
virtual t_size InPlaceEdit::CTableEditHelperV2::TableEdit_GetColumnCount |
( |
| ) |
const |
|
pure virtual |
virtual void InPlaceEdit::CTableEditHelperV2::TableEdit_GetColumnOrder |
( |
t_size * |
out, |
|
|
t_size |
count |
|
) |
| const |
|
inlinevirtual |
virtual t_uint32 InPlaceEdit::CTableEditHelperV2::TableEdit_GetEditFlags |
( |
t_size |
item, |
|
|
t_size |
subItem |
|
) |
| const |
|
inlinevirtual |
virtual t_size InPlaceEdit::CTableEditHelperV2::TableEdit_GetItemCount |
( |
| ) |
const |
|
pure virtual |
virtual RECT InPlaceEdit::CTableEditHelperV2::TableEdit_GetItemRect |
( |
t_size |
item, |
|
|
t_size |
subItem |
|
) |
| const |
|
pure virtual |
virtual HWND InPlaceEdit::CTableEditHelperV2::TableEdit_GetParentWnd |
( |
| ) |
const |
|
pure virtual |
bool InPlaceEdit::CTableEditHelperV2::TableEdit_IsActive |
( |
| ) |
const |
|
inline |
Definition at line 19 of file inplace_edit_v2.h.
bool have_task(unsigned p_id) const
static const unsigned KTaskID
virtual bool InPlaceEdit::CTableEditHelperV2::TableEdit_IsColumnEditable |
( |
t_size |
subItem | ) |
const |
|
inlinevirtual |
virtual void InPlaceEdit::CTableEditHelperV2::TableEdit_SetField |
( |
t_size |
item, |
|
|
t_size |
subItem, |
|
|
const char * |
value |
|
) |
| |
|
pure virtual |
virtual void InPlaceEdit::CTableEditHelperV2::TableEdit_SetItemFocus |
( |
t_size |
item, |
|
|
t_size |
subItem |
|
) |
| |
|
pure virtual |
void InPlaceEdit::CTableEditHelperV2::TableEdit_Start |
( |
t_size |
item, |
|
|
t_size |
subItem |
|
) |
| |
Definition at line 65 of file inplace_edit_v2.cpp.
virtual bool TableEdit_IsColumnEditable(t_size subItem) const
const unsigned InPlaceEdit::CTableEditHelperV2::KTaskID = 0x6f0a3de6 |
|
staticprivate |
t_uint32 InPlaceEdit::CTableEditHelperV2::m_editFlags |
|
private |
t_size InPlaceEdit::CTableEditHelperV2::m_editItem |
|
private |
t_size InPlaceEdit::CTableEditHelperV2::m_editSubItem |
|
private |
The documentation for this class was generated from the following files: