1#ifndef __STILEVIEWITEMLOCATOR_I__H__
2#define __STILEVIEWITEMLOCATOR_I__H__
3#include <interface/SAdapter-i.h>
8#define INTERFACE ITileViewItemLocator
9DECLARE_INTERFACE_(ITileViewItemLocator,
IObjRef)
14 STDMETHOD_(
long, AddRef)(THIS) PURE;
19 STDMETHOD_(
long, Release)(THIS) PURE;
24 STDMETHOD_(
void, OnFinalRelease)(THIS) PURE;
32 STDMETHOD_(
void, SetAdapter)(THIS_ ILvAdapter * pAdapter) PURE;
38 STDMETHOD_(
void, OnDataSetChanged)(THIS) PURE;
45 STDMETHOD_(
int, GetItemHeight)(CTHIS_
int iItem) SCONST PURE;
53 STDMETHOD_(
void, SetItemHeight)(THIS_
int iItem,
int nHeight) PURE;
61 STDMETHOD_(RECT, GetItemRect)(THIS_
int iItem) PURE;
70 STDMETHOD_(
void, SetTileViewWidth)(THIS_
int width, BOOL bDpiAware) PURE;
79 STDMETHOD_(
void, GetItemRowAndColIndex)(THIS_
int iItem,
int *row,
int *col) PURE;
86 STDMETHOD_(BOOL, IsLastInRow)(THIS_
int iItem) PURE;
93 STDMETHOD_(
int, GetUpItem)(THIS_
int iItem) PURE;
100 STDMETHOD_(
int, GetDownItem)(THIS_
int iItem) PURE;
106 STDMETHOD_(
int, GetTotalHeight)(THIS) PURE;
113 STDMETHOD_(
int, Item2Position)(THIS_
int iItem) PURE;
120 STDMETHOD_(
int, Position2Item)(THIS_
int position) PURE;
126 STDMETHOD_(
int, GetScrollLineSize)(CTHIS) SCONST PURE;
132 STDMETHOD_(
int, GetMarginSize)(CTHIS) SCONST PURE;
139 STDMETHOD_(
int, SetScale)(THIS_
int scale) PURE;
145 STDMETHOD_(
int, GetCountInRow)(CTHIS) SCONST PURE;
151 STDMETHOD_(
int, GetItemLineHeight)(CTHIS) SCONST PURE;
157 STDMETHOD_(
int, GetItemWidth)(CTHIS) SCONST PURE;
Interface for reference counting.