Changeset 1829


Ignore:
Timestamp:
04/25/12 11:01:20 (13 months ago)
Author:
msl
Message:

Lua

+ Added missing command get_video_button(), previously only available for uBasic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/luascript.c

    r1828 r1829  
    11201120} 
    11211121 
     1122static int luaCB_get_video_button( lua_State* L ) 
     1123{ 
     1124  int to; 
     1125  #if CAM_HAS_VIDEO_BUTTON 
     1126  to = 1; 
     1127  #else 
     1128  to = 0; 
     1129  #endif 
     1130  lua_pushnumber( L, to ); 
     1131  return 1; 
     1132} 
     1133 
    11221134static int luaCB_get_drive_mode( lua_State* L ) 
    11231135{ 
     
    23532365    FUNC(get_movie_status) 
    23542366    FUNC(set_movie_status) 
     2367    FUNC(get_video_button) 
    23552368  
    23562369    FUNC(get_histo_range) 
Note: See TracChangeset for help on using the changeset viewer.