Haiku: native Interface Kit user interface
Same workflow as the GTK interface: vehicle list, adding a vehicle by VIN, available updates, download folder, resumable download with progress, USB stick selection with an erase confirmation, writing, installation guide. Also a Preferences window (folder, language, automatic new-version check), an About window and the manual new-version check. Worker threads post closures to the window through a non-blocking queue (BMessenger with a zero timeout). Translations use gettext with the GTK catalogs; the default language comes from the Locale preferences. The executable gets its signature and version from a generated .rdef. Validated in the Haiku R1/beta6 VM against a mock Majestic server: full flow down to a FAT32 stick with license/, both archives and no UpdateInfo.xml; French interface; GitHub new-version check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
1 parent
e5af8ea27d
commit
155545660e
13 files changed
+2266
-372
No files matched your search
@@ -24,5 +24,6 @@ if(XGETTEXT)
|
||||
COMMAND ${XGETTEXT} --keyword=_ --keyword=N_ --from-code=UTF-8 --package-name=openpu
|
||||
--add-comments=TRANSLATORS -o ${CMAKE_CURRENT_SOURCE_DIR}/openpu.pot
|
||||
${PROJECT_SOURCE_DIR}/src/ui-gtk/main_window.cpp
|
||||
${PROJECT_SOURCE_DIR}/src/ui-haiku/main_window.cpp
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
|
||||
endif()
|
||||
Reference in new issue
Block a user