force the redraw when get the focus ...
This commit is contained in:
@@ -458,6 +458,21 @@ void Buffer::AnchorRm(int32_t anchorID)
|
||||
}
|
||||
|
||||
|
||||
void Buffer::AnchorRedrawAll(int32_t anchorID)
|
||||
{
|
||||
if (anchorID == -1) {
|
||||
EDN_ERROR("[" << m_uniqueID << "] AnchorID="<< anchorID << " Can not redraw this one !!!");
|
||||
return;
|
||||
}
|
||||
int32_t localID = AnchorRealId(anchorID);
|
||||
if (localID >=0) {
|
||||
AnchorForceRedrawAll(localID);
|
||||
} else {
|
||||
EDN_ERROR("[" << m_uniqueID << "] AnchorID="<< anchorID << " does not exist !!!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool Buffer::AnchorGet(int32_t anchorID, bufferAnchor_ts & anchor)
|
||||
{
|
||||
EDN_ERROR("[" << m_uniqueID << "] AnchorID="<< anchorID << " Main buffer ==> can not manage Anchor (type buffer specific)");
|
||||
|
@@ -149,6 +149,7 @@ class Buffer {
|
||||
public:
|
||||
void AnchorAdd(int32_t anchorID);
|
||||
void AnchorRm(int32_t anchorID);
|
||||
void AnchorRedrawAll(int32_t anchorID);
|
||||
virtual bool AnchorGet(int32_t anchorID, bufferAnchor_ts & anchor);
|
||||
virtual bool AnchorNext(bufferAnchor_ts & anchor);
|
||||
void AnchorSetSize(int32_t anchorID, int32_t sizePixelX, int32_t sizePixelY);
|
||||
|
Reference in New Issue
Block a user