Commit f777dc2
committed
Add content bounds support to Window API
Introduces getter and setter for window content bounds in the Window class, updates FFI bindings to support native content bounds operations, and modifies context menu positioning to use content bounds. Also updates submodule for native API implementation.1 parent 7680aee commit f777dc2
4 files changed
Lines changed: 55 additions & 11 deletions
File tree
- packages
- cnativeapi
- lib/src
- src
- nativeapi/lib/src
- widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
476 | 505 | | |
477 | 506 | | |
478 | 507 | | |
| |||
Submodule libnativeapi updated 13 files
- src/capi/window_c.cpp+24
- src/capi/window_c.h+6
- src/platform/android/window_android.cpp+10
- src/platform/ios/window_ios.mm+10
- src/platform/linux/window_linux.cpp+10
- src/platform/macos/coordinate_utils_macos.h+41
- src/platform/macos/display_macos.mm+1-9
- src/platform/macos/display_manager_macos.mm+7-2
- src/platform/macos/menu_macos.mm+11-45
- src/platform/macos/window_macos.mm+34-10
- src/platform/ohos/window_ohos.cpp+10
- src/platform/windows/window_windows.cpp+48
- src/window.h+21
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
160 | 182 | | |
161 | 183 | | |
162 | 184 | | |
| |||
290 | 312 | | |
291 | 313 | | |
292 | 314 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
| 315 | + | |
297 | 316 | | |
298 | 317 | | |
299 | 318 | | |
| |||
332 | 351 | | |
333 | 352 | | |
334 | 353 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
| 354 | + | |
339 | 355 | | |
340 | 356 | | |
341 | 357 | | |
| |||
393 | 409 | | |
394 | 410 | | |
395 | 411 | | |
396 | | - | |
| |||
0 commit comments