to improved safe
This commit is contained in:
parent
2f93a1bb00
commit
74caaea566
@ -56,6 +56,8 @@ namespace hgl
|
||||
|
||||
MouseEvent():InputEvent(InputEventSource::Mouse)
|
||||
{
|
||||
med=nullptr;
|
||||
x=y=0;
|
||||
hgl_zero(pressed_statues);
|
||||
}
|
||||
virtual ~MouseEvent()=default;
|
||||
|
@ -309,6 +309,8 @@ namespace hgl
|
||||
RingBufferSafeWrite(io::RingOutputStream *ros)
|
||||
{
|
||||
rb=ros->GetRingBuffer();
|
||||
|
||||
size=-1;
|
||||
}
|
||||
|
||||
int Start()
|
||||
|
@ -194,6 +194,7 @@ namespace hgl
|
||||
|
||||
KVData *obj=GetListObject(data_list,index);
|
||||
|
||||
if(!obj)return(nullptr);
|
||||
return &(obj->value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user