View Single Post
Old Yesterday, 08:46 AM   #2
orontee
Connoisseur
orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.
 
orontee's Avatar
 
Posts: 93
Karma: 250460
Join Date: Sep 2023
Location: Toulouse, France
Device: Vivlio Touch HD Plus, reMarkable Paper Pro
Quote:
Originally Posted by reuerendo View Post
Could someone perhaps advise me on how to create such a
toggle switch? Thank you
I recommend reading about iconfig,iconfigedit and CFG_CHECKBOX in inkview.h but beware I have not checked that CFG_CHECKBOX is exactly what you want...

EDIT: Well, I just tried and I have no idea how to initialize CFG_CHECKBOX; Using the same as for a contextual "yes no" menu made with CFG_INDEX it doesn't render as you expects...

Last edited by orontee; Yesterday at 09:16 AM.
orontee is offline   Reply With Quote