capy-ui / capy

💻Build one codebase and get native UI on Windows, Linux and Web
https://capy-ui.org
Mozilla Public License 2.0
1.61k stars 60 forks source link

ScrollView isn't implemented in the win32 backend #19

Closed mattn closed 2 years ago

mattn commented 2 years ago
warning: 'fade' is broken (disabled by default)
.\src\scrollable.zig:10:19: error: container '.zgt.backend' has no member called 'ScrollView'
    peer: ?backend.ScrollView = null,
                  ^
error: foo_app...
error: The following command exited with error code 1:
C:\dev\tools\zig\zig.exe build-exe C:\dev\zig-sandbox\zgt\examples\foo_app.zig -lcomctl32 -lgdi32 -lgdiplus C:\dev\zig-sandbox\zgt\src\backends\win32\res\x86_64.o --cache-dir C:\dev\zig-sandbox\zgt\zig-cache --global-cache-dir C:\Users\mattn\AppData\Local\zig --name foo_app --pkg-begin zgt C:\dev\zig-sandbox\zgt\src\main.zig --pkg-end --subsystem windows --enable-cache 
error: the following build command failed with exit code 1:
C:\dev\zig-sandbox\zgt\zig-cache\o\c5bb151f340779c19e22c63211bb2228\build.exe C:\dev\tools\zig\zig.exe C:\dev\zig-sandbox\zgt C:\dev\zig-sandbox\zgt\zig-cache C:\Users\mattn\AppData\Local\zig

It seems that ScollView does not defined on Windows.

zenith391 commented 2 years ago

Yea, it's already planned, but I'll keep the issue opened until it's done.