Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2305 by niro, Mon Jan 20 14:08:31 2014 UTC revision 2560 by niro, Thu Sep 17 08:15:54 2015 UTC
# Line 1  Line 1 
1  #!/bin/sh  # $Id$
2    
3    help_graphic_resolution()
4    {
5     local serial="${CLASS_ARGV[0]}"
6     control_client "${serial}" help graphic.resolution
7    }
8    
9    help_graphic_refresh()
10    {
11     local serial="${CLASS_ARGV[0]}"
12     control_client "${serial}" help graphic.refresh
13    }
14    
15    help_graphic_depth()
16    {
17     local serial="${CLASS_ARGV[0]}"
18     control_client "${serial}" help graphic.depth
19    }
20    
21    help_graphic_driver()
22    {
23     local serial="${CLASS_ARGV[0]}"
24     control_client "${serial}" help graphic.driver
25    }
26    
27  # set_graphic_gfxcard $serial $value  # set_graphic_gfxcard $serial $value
28  set_graphic_gfxcard()  set_graphic_gfxcard()
# Line 43  set_graphic_refresh() Line 67  set_graphic_refresh()
67   local serial="${CLASS_ARGV[0]}"   local serial="${CLASS_ARGV[0]}"
68   local value="${CLASS_ARGV[1]}"   local value="${CLASS_ARGV[1]}"
69    
70   import_resource cfg_graphic "${serial}" hz "${value}"   import_resource cfg_graphic "${serial}" refresh_rate "${value}"
71  }  }
72    
73  # control_graphic_resolution $serial  # control_graphic_resolution $serial

Legend:
Removed from v.2305  
changed lines
  Added in v.2560