Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
12/15/08 13:00:15 (3 years ago)
Author:
alex
Message:

only copy dir and cst files now, when doing svn update movie binaries. added function to split path in order to not assume, that the first dot is the file extension seperator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/keyboardNavigation_FrameLoop.ls

    r1 r215  
    1 -- keyboard navigation using control+tab to access the menu without mouse 
     1-- keyboardNavigation_FrameLoop 
     2----------------------------------- 
     3-- DESCRIPTION: 
     4--                frame loop and keyboard input "watcher" 
     5--                keyboard navigation using control+tab to access the menu without mouse 
     6-- 
     7-- REQUIRES: 
     8--                none 
     9-- 
     10-- USAGE: 
     11--                put this behavior on a framescript in order to loop on that frame 
     12--                and track whether the user presses ctrl + TAB 
     13--                Currently it is set to track the whole time, therefore the menus even appear 
     14--                if the app is not in foreground. 
     15--                A deactivate application trigger could change that. I am ok with it myself 
     16--                and I even sometimes look up items, when I am in other apps like bbedit... 
     17----------------------------------- 
     18 
     19 
    220 
    321property pActive 
     
    927    if not(pActive) then 
    1028       
    11       if keypressed(48) then 
    12         if the shiftdown then 
     29      if keypressed(48) then -- TAB key 
     30        if the shiftdown then -- CTRL + SHIFT + TAB open handler menu 
    1331          sendSprite(xscr().mGetKanal(#handlerMenuTrigger), #mousedown) 
    14         else 
     32        else -- CTRL + TAB open utitlities menu 
    1533          sendSprite(xscr().mGetKanal(#utilitiesMenuTrigger), #mousedown) 
    1634        end if 
Note: See TracChangeset for help on using the changeset viewer.