ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Win32.c
(Generate patch)

Comparing Daodan/src/Daodan_Win32.c (file contents):
Revision 992 by alloc, Sat Apr 5 10:19:11 2014 UTC vs.
Revision 993 by alloc, Sun Apr 6 17:06:02 2014 UTC

# Line 152 | Line 152 | UUtError ONICALL DD_ONrPlatform_Initiali
152          }
153          else
154          {
155 +                ConfigOption_t* co = DDrConfig_GetOptOfType("options.border", C_BOOL);
156 +                int opt_border = 0;
157 +                if (co && co->value.intBoolVal)
158 +                        opt_border = 1;
159 +                co = DDrConfig_GetOptOfType("options.topmost", C_BOOL);
160 +                int opt_topmost = 0;
161 +                if (co && co->value.intBoolVal)
162 +                        opt_topmost = 1;
163 +
164                  window_style    = (opt_border) ? WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_DLGFRAME | WS_MINIMIZEBOX : WS_POPUP;
165                  window_style_ex = (opt_topmost) ? WS_EX_TOPMOST : 0;
166          }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)