View Single Post
Old 04-19-2025, 06:48 AM   #85
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,897
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
@rkomar
Apologies for the sporadic interruptions fella...

Do you know if I can make the background for sh_ivtool transparent?

I can achieve a transparent background for the system dialog by manually setting the active task before calling it, e.g.
Code:
#!/bin/sh
dialog=/ebrmain/cramfs/bin/dialog
$dialog 1 "" "test 1"
iv2sh SetActiveTask `pidof bookshelf.app`
$dialog 1 "" "test 2"
iv2sh SetActiveTask $$
/ebrmain/bin/run_script -clear_screen -bitmap=pocketbook_logo_software
$dialog 1 "" "test 3"
iv2sh SetActiveTask `pidof bookshelf.app`
exit
Currently sh_ivtool always behaves like the dialog for "test 1" and I'd love to get it working as an overlay like in tests 2 & 3.

I may also try and get sh_ivtool to respect dark-mode, I think I just need to add:
Code:
IvSetAppCapability(APP_CAPABILITY_SUPPORT_SCREEN_INVERSION);
neil_swann80 is offline   Reply With Quote