Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
miniStudio GUIBuilder
Commits
08cd0030
Commit
08cd0030
authored
7 years ago
by
xueshuming
Browse files
Options
Download
Email Patches
Plain Diff
[feature]WindowInstance::saveBinToStream DWORD -> uint32_t
parent
87732253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uieditor/window-instance.cpp
+7
-7
uieditor/window-instance.cpp
with
7 additions
and
7 deletions
+7
-7
uieditor/window-instance.cpp
View file @
08cd0030
...
...
@@ -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
))
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help