예제 #1
0
파일: Camera.cs 프로젝트: iainlane/f-spot
 internal static extern ErrorCode gp_camera_set_abilities(HandleRef camera, CameraAbilities abilities);
예제 #2
0
    public void SelectCamera(int index)
    {
        selected_camera__camera_list_index = index;

        camera_abilities = abilities_list [camera_list.GetName (selected_camera__camera_list_index)];
        port_info = port_info_list.LookupPath (camera_list.GetValue (selected_camera__camera_list_index));

        Log.Debug ("PortInfo {0}, {1}", port_info.Name, port_info.Path);

        camera = new Camera () { Abilities = camera_abilities, PortInfo = port_info };
    }
예제 #3
0
파일: Camera.cs 프로젝트: iainlane/f-spot
 internal static unsafe extern ErrorCode gp_camera_get_abilities(HandleRef camera, out CameraAbilities abilities);