Subversion Repositories tpanel

Rev

Rev 111 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 111 Rev 113
Line 131... Line 131...
131
};
131
};
132
 
132
 
133
SYSBUTTONS_t sysButtons[] = {
133
SYSBUTTONS_t sysButtons[] = {
134
    {    8, MULTISTATE_BARGRAPH,  12, 0,  11 },  // Connection status
134
    {    8, MULTISTATE_BARGRAPH,  12, 0,  11 },  // Connection status
135
    {   17, GENERAL,               2, 0,   0 },  // Button sounds on/off
135
    {   17, GENERAL,               2, 0,   0 },  // Button sounds on/off
-
 
136
    {   73, GENERAL,               2, 0,   0 },  // Enter setup page
-
 
137
    {   80, GENERAL,               2, 0,   0 },  // Shutdown program
136
    {   81, MULTISTATE_BARGRAPH,   6, 1,   6 },  // Network signal stength
138
    {   81, MULTISTATE_BARGRAPH,   6, 1,   6 },  // Network signal stength
137
    {  122, TEXT_INPUT,            2, 0,   0 },  // IP Address of server or domain name
139
    {  122, TEXT_INPUT,            2, 0,   0 },  // IP Address of server or domain name
138
    {  123, TEXT_INPUT,            2, 9,   0 },  // Channel number of panel
140
    {  123, TEXT_INPUT,            2, 9,   0 },  // Channel number of panel
139
    {  124, TEXT_INPUT,            2, 0,   0 },  // The network port number (1319)
141
    {  124, TEXT_INPUT,            2, 0,   0 },  // The network port number (1319)
140
    {  141, GENERAL,               2, 0,   0 },  // Standard time
142
    {  141, GENERAL,               2, 0,   0 },  // Standard time
Line 5756... Line 5758...
5756
                TConfig::saveSettings();
5758
                TConfig::saveSettings();
5757
                drawButton(mActInstance, false);
5759
                drawButton(mActInstance, false);
5758
                showLastButton();
5760
                showLastButton();
5759
            }
5761
            }
5760
        }
5762
        }
-
 
5763
        else if (isSystem && ch == 73)  // Enter setup page
-
 
5764
        {
-
 
5765
            if (pressed)
-
 
5766
            {
-
 
5767
                if (gPageManager && gPageManager->haveSetupPage())
-
 
5768
                    gPageManager->callSetupPage();
-
 
5769
            }
-
 
5770
        }
-
 
5771
        else if (isSystem && ch == 80)  // Shutdown program
-
 
5772
        {
-
 
5773
            if (pressed)
-
 
5774
            {
-
 
5775
                if (gPageManager && gPageManager->haveShutdown())
-
 
5776
                    gPageManager->callShutdown();
-
 
5777
            }
-
 
5778
        }
5761
        else if (fb == FB_MOMENTARY)
5779
        else if (fb == FB_MOMENTARY)
5762
        {
5780
        {
5763
            if (pressed)
5781
            if (pressed)
5764
                instance = 1;
5782
                instance = 1;
5765
            else
5783
            else