Changeset 25838


Ignore:
Timestamp:
02/02/14 21:32:50 (10 years ago)
Author:
obi
Message:

add pluginkey and screenshoot

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r25623 r25838  
    406406                        continue;
    407407                }
     408                if(rcret == getrcconfigint("rcshoot", NULL))
     409                {
     410                        subtitlepause(1);
     411                        status.infobar = 0;
     412                        status.infobaraktiv = 0;
     413                        clearscreen(infobar);
     414                        screenshoot(0);
     415                        status.infobaraktiv = 1;
     416                        status.updatevfd = START;
     417                        drawscreen(skin, 0, 0);
     418                        subtitlepause(0);
     419                        continue;
     420                }
     421
     422                if(rcret == getrcconfigint("rcplugin", NULL))
     423                {
     424                        subtitlepause(1);
     425                        status.infobar = 0;
     426                        status.infobaraktiv = 0;
     427                        clearscreen(infobar);
     428                        screenkeyactions(1, 0);
     429                        status.infobaraktiv = 1;
     430                        status.updatevfd = START;
     431                        drawscreen(skin, 0, 0);
     432                        subtitlepause(0);
     433                        continue;
     434                }
    408435                if(rcret == getrcconfigint("rcred", NULL))
    409436                {
  • titan/titan/keyactions.h

    r25069 r25838  
    44//key 0: blue
    55//key 1: red
     6//key 2: plugin
    67//flag 0: without menulist
    78//flag 1: with menulist
     
    6768                if(key == 0) keyconf = getconfig("bluekey", NULL);
    6869                if(key == 1) keyconf = getconfig("redkey", NULL);
     70                if(key == 2) keyconf = getconfig("pluginkey", NULL);
    6971        }
    7072       
Note: See TracChangeset for help on using the changeset viewer.