コード例 #1
0
ファイル: DeviceInformation.cs プロジェクト: bramp/libcec
   public DeviceInformation(CecConfigGUI gui, CecLogicalAddress address, ref LibCecSharp lib,
 bool devicePresent, CecVendorId vendor, bool isActiveSource, ushort physicalAddress,
 CecVersion version, CecPowerStatus power, string osdName, string menuLanguage)
   {
       Gui = gui;
         Lib = lib;
         Address = address;
         InitializeComponent();
         lDevice.Text = lib.ToString(address);
         lLogicalAddress.Text = String.Format("{0,1:X}", (int)address);
         Update(devicePresent, vendor, isActiveSource, physicalAddress, version, power, osdName, menuLanguage);
   }
コード例 #2
0
 public DeviceInformation(CecConfigGUI gui, CecLogicalAddress address, ref LibCecSharp lib,
                          bool devicePresent, CecVendorId vendor, bool isActiveSource, ushort physicalAddress,
                          CecVersion version, CecPowerStatus power, string osdName, string menuLanguage)
 {
     Gui     = gui;
     Lib     = lib;
     Address = address;
     InitializeComponent();
     lDevice.Text         = lib.ToString(address);
     lLogicalAddress.Text = String.Format("{0,1:X}", (int)address);
     Update(devicePresent, vendor, isActiveSource, physicalAddress, version, power, osdName, menuLanguage);
 }
コード例 #3
0
ファイル: CecConfigGUI.cs プロジェクト: behaviour/libcec
 public CecCallbackWrapper(CecConfigGUI gui)
 {
     Gui = gui;
 }