mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
refactor(ui): add WinUI stylesheet for Windows
- Introduced WinToolWidget for custom window management on Windows. - Implemented backdrop type settings for Windows in SettingsManager. - Enhanced SettingsWidget to allow selection of backdrop type. - Improved status balloon and toolbox widget styles for Windows. - Refined tab widget animations and styles for better visual feedback. - Fixed issues with loading and error widgets in ZLoadingWidget. - Updated welcome widget to support custom hyperlink colors. - General code cleanup and style adjustments across multiple files.
This commit is contained in:
@@ -98,10 +98,10 @@ ServiceManager::safeAfcFileSeek(const iDescriptorDevice *device,
|
||||
AfcFileHandle *handle, int64_t offset,
|
||||
int whence)
|
||||
{
|
||||
off_t newPos;
|
||||
return executeAfcOperation(
|
||||
device,
|
||||
[offset, whence, &newPos](AfcFileHandle *handle) {
|
||||
[offset, whence](AfcFileHandle *handle) {
|
||||
int64_t newPos;
|
||||
return afc_file_seek(handle, offset, whence, &newPos);
|
||||
},
|
||||
handle);
|
||||
@@ -109,7 +109,7 @@ ServiceManager::safeAfcFileSeek(const iDescriptorDevice *device,
|
||||
|
||||
IdeviceFfiError *
|
||||
ServiceManager::safeAfcFileTell(const iDescriptorDevice *device,
|
||||
AfcFileHandle *handle, off_t *position)
|
||||
AfcFileHandle *handle, int64_t *position)
|
||||
{
|
||||
return executeAfcOperation(
|
||||
device,
|
||||
|
||||
Reference in New Issue
Block a user