Jump to content

maciek717

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by maciek717

  1. Hello,

    I've mono display (1bit color) and I'm trying to use widget like List. I made my own color style, but the selected element of the list is drawn as white box which covered item label.

    It's possible to use list with mono display?

    const GWidgetStyle MonoStyle = {
        HTML2COLOR(0x000000),           // window background
        HTML2COLOR(0xFFFFFF),           // focused
    
        // enabled color set
        {
            HTML2COLOR(0xFFFFFF),       // text
            HTML2COLOR(0xFFFFFF),       // edge
            HTML2COLOR(0xcccccc),       // fill
            HTML2COLOR(0xFFFFFF)        // progress - active area
        },
    
        // disabled color set
        {
            HTML2COLOR(0x808080),       // text
            HTML2COLOR(0x404040),       // edge
            HTML2COLOR(0x404040),       // fill
            HTML2COLOR(0x004000)        // progress - active area
        },
    
        // pressed color set
        {
            HTML2COLOR(0x000000),       // text
            HTML2COLOR(0xFFFFFF),       // edge
            HTML2COLOR(0xFFFFFF),       // fill
            HTML2COLOR(0xFFFFFF)        // progress - active area
        }
    };

    Thanks!

×
×
  • Create New...