.Select()

back to Icon

Description

This function is used to make an icon appear selected by thickening the icon’s border.

Syntax

.Select();

Parameters

None.

Returns

None.

Examples

#include <FEHLCD.h>

int main(void)
{
    // declare a single icon called software_button
    FEHIcon::Icon software_button;

    // set its parameters with "BUTTON" as the label,
    // top left corner at 120,80 and size 80 by 80,
    // and make the border scarlet and the text gray
    software_button.SetProperties("BUTTON", 120, 80, 80, 80, SCARLET, GRAY);

    // draw the icon
    software_button.Draw();

    // select the icon
    software_button.Select();
}