You are reading a single comment by @Pologram and its replies. Click here to read the full conversation.
  • Hello,

    I was thinking that it would be neat to have a menu that allows to select two numbers at the same time. The most typical usecase would be to select a time, with the hours and minutes next to each other. It could be a small but nice QOL update.

    I tried and made a quick mockup (see attachment), and the result looks nice, because the watch screen has enough real estate for that.

    In the code, it could be easy to set up as well. An example could be:

    "Time" : {
        value : double_number,
        min_1:0,max_1:23,step_1:1,
        min_2:0,max_2:59,step_2:1,
        onchange_1 : v_1 => { number_1=v_1; }
        format_1: function (v_1) { return something(v_1); }
        onchange_2 : v_2 => { number_2=v_2; }
        format_2: function (v_2) { return something(v_2); }
    },
    

    My understanding is that in order to achieve that I need to tweak the Espruino/libs/js/banglejs /E_showMenu_Q3.js file, and then build a custom firmware and upload it to the watch. Is that correct?

    Thank you for your insights


    1 Attachment

    • Nouveau projet.png
About

Avatar for Pologram @Pologram started