Carl

Results 18 comments of Carl

I initially tried compiling the tagged releases 0.18.0, and 0.17.0 and got the exact same error. However when I tried to compile HEAD https://github.com/immunant/c2rust/commit/4058b111bf5df2c16733698417b395ecbcacb8fa (at the time), it succeeded. Not...

There has been some discussion on this before. I don't have time to dig back through and find them at the moment. It can be done but you would need...

I'm curious as well I wanted to build this and my initial couple of attempts failed, but I never had much time to dig into this. It was a few...

@gqf2008 I don't read Chinese I'm afraid so I ran this through Google Translate and hopefully I understand correctly. I realize the borderless window component in Tomotroid has some issues,...

@gqf2008 Take your time, I appreciate any help you can offer. (慢慢来,我感谢您提供的任何帮助。)

I have an issue that may or may not be related. I hadn't posted my issue yet since I was trying to determine if it was something I was doing...

After doing a quick look back at my issue I'm not sure it's related. As already mentioned I'm manually recreating a "title bar", but also after checking again the timer...

So I don't want to upload while tethering so I'll have to come back and upload the code to Github and some videos later. But I now have a small...

I haven't had a chance to take a video yet. I've only had a chance to test this on Windows 11, not 10 yet, but this repo is a minimum...

Interesting note. I hadn't tried this code in [SlintPad](https://slintpad.com/?snippet=import+%7B+VerticalBox%2C+Slider+%7D+from+%22std-widgets.slint%22%3B%0A%0Aexport+component+CircularProgress+%7B%0A++++preferred-height%3A+100%25%3B%0A++++preferred-width%3A+100%25%3B%0A++++in+property+%3Cfloat%3E+progress%3B%0A++++in+property+%3Ccolor%3E+bg_color%3B%0A++++in+property+%3Ccolor%3E+fg_color%3B%0A++++in+property+%3Ccolor%3E+txt_color%3B%0A++++in+property+%3Cstring%3E+prog_text%3B%0A++++in+property+%3Cstring%3E+lbl_text%3B%0A%0A++++Path+%7B%0A++++++++%2F%2F+clamp+is+a+workaground+to+get+filled+circle+by+1.0%0A++++++++private+property+%3Cangle%3E+progress%3A+clamp%28100.0+*+1turn%2C+0%2C+0.99999turn%29%3B%0A%0A++++++++viewbox-width%3A+1%3B%0A++++++++viewbox-height%3A+1%3B%0A++++++++height%3A+path.height+-+%28path.stroke-width+-+self.stroke-width%29%3B%0A++++++++width%3A+path.width%3B%0A%0A++++++++stroke-width%3A+2px%3B%0A++++++++stroke%3A+bg_color%3B%0A%0A%0A++++++++MoveTo+%7B%0A++++++++++++x%3A+0.5%3B%0A++++++++++++y%3A+0%3B%0A++++++++%7D%0A%0A++++++++ArcTo+%7B%0A++++++++++++radius-x%3A+path.radius%3B%0A++++++++++++radius-y%3A+path.radius%3B%0A++++++++++++x%3A+0.5+-+path.radius+*+sin%28-%28parent.progress%29+%29%3B%0A++++++++++++y%3A+0.5+-+path.radius+*+cos%28-%28parent.progress%29+%29%3B%0A++++++++++++sweep%3A+false%3B%0A++++++++++++large-arc%3A+true%3B%0A++++++++%7D%0A++++%7D%0A%0A%0A++++path+%3A%3D+Path+%7B%0A++++++++property+%3Cfloat%3E+radius%3A+0.5%3B%0A++++++++%2F%2F+clamp+is+a+workaground+to+get+filled+circle+by+1.0%0A++++++++private+property+%3Cangle%3E+progress%3A+clamp%28root.progress+*+1turn%2C+0%2C+0.99999turn%29%3B%0A%0A++++++++viewbox-width%3A+1%3B%0A++++++++viewbox-height%3A+1%3B%0A++++++++height%3A+parent.height%3B%0A++++++++width%3A+parent.width%3B%0A%0A++++++++stroke-width%3A+10px%3B%0A++++++++stroke%3A+fg_color%3B%0A++++++++stroke-line-cap%3A+round%3B%0A%0A++++++++MoveTo+%7B%0A++++++++++++x%3A+0.5%3B%0A++++++++++++y%3A+0%3B%0A++++++++%7D%0A%0A++++++++ArcTo+%7B%0A++++++++++++radius-x%3A+path.radius%3B%0A++++++++++++radius-y%3A+path.radius%3B%0A++++++++++++x%3A+0.5+-+path.radius+*+sin%28-%28path.progress%29+%29%3B%0A++++++++++++y%3A+0.5+-+path.radius+*+cos%28-%28path.progress%29+%29%3B%0A++++++++++++sweep%3A+true%3B%0A++++++++++++large-arc%3A+root.progress+%3E%3D+0.49%3B%0A++++++++%7D%0A%0A++++++++%2F*animate+progress+%7B%0A++++++++++++duration%3A+1s%3B%0A++++++++%7D*%2F%0A++++%7D%0A%0A++++Timer+%3A%3D+Text+%7B%0A++++++++font-family%3A+%22Roboto+Mono%22%3B%0A++++++++text%3A+prog_text%3B%0A++++++++color%3A+txt_color%3B%0A++++++++font-size%3A+46px%3B%0A++++%7D%0A++++task-label+%3A%3D+Text+%7B%0A++++++++text%3A+lbl_text%3B%0A++++++++font-family%3A+%22Lato%22%3B%0A++++++++y%3A+parent.height+*+0.70%3B%0A++++++++color%3A+txt_color%3B%0A++++++++font-size%3A+12pt%3B%0A++++%7D%0A%7D%0A%0A%0A%0Aexport+component+Demo+inherits+Window+%7B%0A++++width%3A+200px%3B%0A++++VerticalBox+%7B%0A++++++++alignment%3A+start%3B%0A%0A++++++++progress+%3A%3D+CircularProgress+%7B%0A++++++++++++height%3A+self.width%3B%0A++++++++++++%2F%2Fheight%3A+parent.width%3B%0A++++++++++++progress%3A+slider.value%3B%0A++++++++++++bg_color%3A+red%3B%0A++++++++++++fg_color%3A+green%3B%0A++++++++++++txt_color%3A+black%3B%0A++++++++++++prog_text%3A+ceil%28slider.value+*+100%29%3B%0A++++++++++++lbl_text%3A+%22Label%22%3B%0A++++++++%7D%0A%0A++++++++slider+%3A%3D+Slider+%7B%0A++++++++++++value%3A+0.90%3B%0A++++++++++++maximum%3A+1%3B%0A++++++++%7D%0A%0A++++++++Timer+%3A%3D+Timer+%7B%0A++++++++++++interval%3A+1s%3B%0A++++++++++++running%3A+true%3B%0A++++++++++++triggered+%3D%3E+%7B%0A++++++++++++++++if+slider.value+%3C%3D+0+%7B%0A++++++++++++++++++++slider.value+%3D+1%3B%0A++++++++++++++++%7D+else+%7B%0A++++++++++++++++++++slider.value+-%3D+0.01%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D%0A%7D&style=native), but I just did, and it doesn't show the changing random artifacting on the top part of the path that I...