Changeset 11419 for titan/plugins/panel/panel_settings_fancontrol.h
- Timestamp:
- Nov 20, 2011, 4:49:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/panel/panel_settings_fancontrol.h
r11416 r11419 1 #ifndef AAFPANEL_SETTINGS_FANCONTROL_H2 #define AAFPANEL_SETTINGS_FANCONTROL_H1 #ifndef PANEL_SETTINGS_FANCONTROL_H 2 #define PANEL_SETTINGS_FANCONTROL_H 3 3 4 4 5 5 6 void screen aafpanel_settings_fancontrol()6 void screenpanel_settings_fancontrol() 7 7 { 8 8 int rcret = 0; … … 10 10 char* speedWert = NULL; 11 11 12 struct skin* aaf_fancontrol = getscreen("aafpanel_settings_fancontrol");13 struct skin* fanprogress = getscreennode( aaf_fancontrol, "fanprogress");12 struct skin* panel_fancontrol = getscreen("panel_settings_fancontrol"); 13 struct skin* fanprogress = getscreennode(panel_fancontrol, "fanprogress"); 14 14 15 15 speedWert = getconfig("fanspeed", NULL); … … 31 31 32 32 fanprogress->progresssize = speed; 33 drawscreen( aaf_fancontrol, 0);33 drawscreen(panel_fancontrol, 0); 34 34 35 35 while(1) 36 36 { 37 rcret = waitrc( aaf_fancontrol, 0, 0);37 rcret = waitrc(panel_fancontrol, 0, 0); 38 38 39 39 if(rcret == getrcconfigint("rcexit", NULL)) { … … 50 50 fanprogress->progresssize = speed; 51 51 setfanspeed(speed, 0); 52 drawscreen( aaf_fancontrol, 0);52 drawscreen(panel_fancontrol, 0); 53 53 } 54 54 if(rcret == getrcconfigint("rcright", NULL)){ … … 57 57 fanprogress->progresssize = speed; 58 58 setfanspeed(speed, 0); 59 drawscreen( aaf_fancontrol, 0);59 drawscreen(panel_fancontrol, 0); 60 60 } 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.