Class SmallMenuDisplay

  • All Implemented Interfaces:
    crackers.kobots.parts.app.io.NeoKeyMenu.MenuDisplay

    
    public abstract class SmallMenuDisplay
     implements NeoKeyMenu.MenuDisplay
                        

    An abstract class that creates screen graphics for the NeoKeyMenu display. This is primarily intended for use with a small OLED display (e.g. 128x32). This class only creates the image: the displayFun receiver function is responsible for displaying the image. It also

    If the mode is DisplayMode.TEXT, the image is constructed with two items on two rows.

    The assumption for sizing is that the number of items given to display (4) should fit (128/32).

    Note: text is NOT truncated, so if the text is "too long", it may overwrite other text.