Ejemplo n.º 1
0
 public static void PrintModeInfo(XRRModeInfo mode)
 {
     Console.WriteLine("Id: {0} Name: {1} Width: {2} Height {3}", mode.id, mode.name, mode.width, mode.height);
 }
Ejemplo n.º 2
0
 public OutputModeItem(int output_id, XRRModeInfo mode)
 {
     this.output_id = output_id;
     this.mode_id   = mode.id.ToInt32();
     this.name      = mode.name + " " + mode.dotClock.ToInt64() / mode.vTotal / mode.hTotal + "Hz";
 }