Commit 08cd0030 authored by xueshuming's avatar xueshuming
Browse files

[feature]WindowInstance::saveBinToStream DWORD -> uint32_t

parent 87732253
Showing with 7 additions and 7 deletions
+7 -7
......@@ -251,18 +251,18 @@ int WindowInstance::saveBinToStream(BinStream *stream)
stream->save32(0);
//4) save rdr id
stream->save32(ft->vtype->toRes(getField(PropRenderer)));
stream->save32((uint32_t)ft->vtype->toRes(getField(PropRenderer)));
//5) save x, y, w, h
stream->save32(getField(PropX));
stream->save32(getField(PropY));
stream->save32(getField(PropWidth));
stream->save32(getField(PropHeight));
stream->save32((uint32_t)getField(PropX));
stream->save32((uint32_t)getField(PropY));
stream->save32((uint32_t)getField(PropWidth));
stream->save32((uint32_t)getField(PropHeight));
//6) save style
stream->save32(getStyle());
stream->save32((uint32_t)getStyle());
//7) save exstyle
stream->save32(getExStyle());
stream->save32((uint32_t)getExStyle());
//save bkcolor
if(isFieldExist(PropBkColor))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment