mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Clip: add backlight and buttonlight code
Revive lcd_enable() as well, and use it in _backlight_on/off() Don't update the lcd framebuffer if the display is off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ee593c95e2
commit
603a9c7c7d
34 changed files with 184 additions and 97 deletions
|
@ -10221,17 +10221,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Изключване на осветяването на колелото"
|
e200*: "Изключване на осветяването на колелото"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Изключване на осветяването на бутоните"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Изключване на осветяването на бутоните"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: ""
|
e200*: ""
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3828,17 +3828,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Apagat de llum de roda"
|
e200*: "Apagat de llum de roda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Apagat de llum de roda"
|
e200*: "Apagat de llum de roda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10687,17 +10687,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "转盘背光自动关闭时滞"
|
e200*: "转盘背光自动关闭时滞"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
|
clip,c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "转盘背光自动关闭时滞"
|
e200*: "转盘背光自动关闭时滞"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
|
clip,c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10705,17 +10705,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "轉盤燈自動關時間"
|
e200*: "轉盤燈自動關時間"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3836,17 +3836,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Časový limit osvětlení kolečka"
|
e200*: "Časový limit osvětlení kolečka"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Časový limit osvětlení kolečka"
|
e200*: "Časový limit osvětlení kolečka"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9933,17 +9933,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Hjul-lys sluk"
|
e200*: "Hjul-lys sluk"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Hjul-lys sluk"
|
e200*: "Hjul-lys sluk"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3850,17 +3850,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Scrollradbeleuchtungsdauer"
|
e200*: "Scrollradbeleuchtungsdauer"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Scrollradbeleuchtungsdauer"
|
e200*: "Scrollradbeleuchtungsdauer"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3924,17 +3924,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -11181,17 +11181,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Tiempo de espera en la luz de la rueda"
|
e200*: "Tiempo de espera en la luz de la rueda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Tiempo de espera en la luz de la rueda"
|
e200*: "Tiempo de espera en la luz de la rueda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9974,17 +9974,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Rullavalon aikakatkaisu"
|
e200*: "Rullavalon aikakatkaisu"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Rullavalon aikakatkaisu"
|
e200*: "Rullavalon aikakatkaisu"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3880,17 +3880,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Durée de l'éclairage de la molette"
|
e200*: "Durée de l'éclairage de la molette"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Durée de l'éclairage de la molette"
|
e200*: "Durée de l'éclairage de la molette"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3838,17 +3838,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Χρόνος σβησίματος τροχού"
|
e200*: "Χρόνος σβησίματος τροχού"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος πλήκτρων"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος πλήκτρων"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Χρόνος σβησίματος τροχού"
|
e200*: "Χρόνος σβησίματος τροχού"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος πλήκτρων"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος πλήκτρων"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3832,17 +3832,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "זמן תאורת הגלגל"
|
e200*: "זמן תאורת הגלגל"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "זמן תאורת כפתור"
|
clip,c200,gigabeatf,mrobe100,sa9200: "זמן תאורת כפתור"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3853,17 +3853,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Tempo di spegnimento illuminazione rotella"
|
e200*: "Tempo di spegnimento illuminazione rotella"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Tempo di spegnimento illuminazione rotella"
|
e200*: "Tempo di spegnimento illuminazione rotella"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3834,17 +3834,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "ホイールライトのタイムアウト"
|
e200*: "ホイールライトのタイムアウト"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイムアウト"
|
clip,c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイムアウト"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "ホイールライトのタイムアウト"
|
e200*: "ホイールライトのタイムアウト"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイムアウト"
|
clip,c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイムアウト"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10762,17 +10762,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: ""
|
*: ""
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: ""
|
*: ""
|
||||||
e200*: "휠버튼 조명 시간"
|
e200*: "휠버튼 조명 시간"
|
||||||
c200,gigabeatf,mrobe100: "버튼 조명 시간"
|
clip,c200,gigabeatf,mrobe100: "버튼 조명 시간"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: ""
|
||||||
e200*: "휠버튼 조명 시간"
|
e200*: "휠버튼 조명 시간"
|
||||||
c200,gigabeatf,mrobe100: "버튼 조명 시간"
|
clip,c200,gigabeatf,mrobe100: "버튼 조명 시간"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3827,17 +3827,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Kerék világításának hossza"
|
e200*: "Kerék világításának hossza"
|
||||||
c200,gigabeatf,mrobe100: "Gomb világításának hossza"
|
clip,c200,gigabeatf,mrobe100: "Gomb világításának hossza"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10274,17 +10274,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wiel Licht Vertraging"
|
e200*: "Wiel Licht Vertraging"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wiel Licht Vertraging"
|
e200*: "Wiel Licht Vertraging"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9871,17 +9871,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Avbrotstid for hjullys"
|
e200*: "Avbrotstid for hjullys"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Avbrotstid for hjullys"
|
e200*: "Avbrotstid for hjullys"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10023,17 +10023,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Slukketid for hjullys"
|
e200*: "Slukketid for hjullys"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Slukketid for knapplys"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Slukketid for knapplys"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Tid før lys på hjul slukker"
|
e200*: "Tid før lys på hjul slukker"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Tid før lys på knapper slukker"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Tid før lys på knapper slukker"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3841,17 +3841,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wygaszanie koła sterującego"
|
e200*: "Wygaszanie koła sterującego"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wygaszanie koła sterującego"
|
e200*: "Wygaszanie koła sterującego"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3841,17 +3841,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Duração da Luz da Roda"
|
e200*: "Duração da Luz da Roda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Duração da Luz da Roda"
|
e200*: "Duração da Luz da Roda"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10303,17 +10303,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Timp iluminare rotita"
|
e200*: "Timp iluminare rotita"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Timp iluminare rotita"
|
e200*: "Timp iluminare rotita"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10949,17 +10949,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Таймаут подсветки колёсика"
|
e200*: "Таймаут подсветки колёсика"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Таймаут подсветки колёсика"
|
e200*: "Таймаут подсветки колёсика"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3841,17 +3841,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3835,17 +3835,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Hjulbelysning"
|
e200*: "Hjulbelysning"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Hjulbelysning"
|
e200*: "Hjulbelysning"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3841,17 +3841,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Pahintuin gulong sa ilaw"
|
e200*: "Pahintuin gulong sa ilaw"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Pahintuin buttones sa ilaw"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Pahintuin buttones sa ilaw"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3835,17 +3835,17 @@
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
e200*: "เวลาเปิดไฟล้อหมุน"
|
e200*: "เวลาเปิดไฟล้อหมุน"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
e200*: "Wheel Light Timeout"
|
e200*: "Wheel Light Timeout"
|
||||||
c200,gigabeatf,mrobe100,sa9200: ""
|
clip,c200,gigabeatf,mrobe100,sa9200: ""
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -1045,6 +1045,7 @@ target/arm/pcm-telechips.c
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
target/arm/as3525/sansa-clip/lcd-ssd1303.c
|
target/arm/as3525/sansa-clip/lcd-ssd1303.c
|
||||||
target/arm/as3525/sansa-clip/button-clip.c
|
target/arm/as3525/sansa-clip/button-clip.c
|
||||||
|
target/arm/as3525/sansa-clip/backlight-clip.c
|
||||||
target/arm/as3525/as3525-codec.c
|
target/arm/as3525/as3525-codec.c
|
||||||
#endif /* !SIMULATOR */
|
#endif /* !SIMULATOR */
|
||||||
#endif /* SANSA_CLIP */
|
#endif /* SANSA_CLIP */
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
/* define this if you have a light associated with the buttons */
|
/* define this if you have a light associated with the buttons */
|
||||||
//#define HAVE_BUTTON_LIGHT
|
#define HAVE_BUTTON_LIGHT
|
||||||
|
|
||||||
/* define this if you have access to the quickscreen */
|
/* define this if you have access to the quickscreen */
|
||||||
//#define HAVE_QUICKSCREEN
|
//#define HAVE_QUICKSCREEN
|
||||||
|
@ -47,12 +47,11 @@
|
||||||
#define LCD_PIXELFORMAT VERTICAL_PACKING
|
#define LCD_PIXELFORMAT VERTICAL_PACKING
|
||||||
|
|
||||||
/* define this if you have LCD enable function */
|
/* define this if you have LCD enable function */
|
||||||
//#define HAVE_LCD_ENABLE
|
#define HAVE_LCD_ENABLE
|
||||||
|
|
||||||
#ifndef BOOTLOADER
|
#ifndef BOOTLOADER
|
||||||
|
/* Define this if your LCD can be put to sleep.
|
||||||
/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
|
* HAVE_LCD_ENABLE should be defined as well. */
|
||||||
should be defined as well. */
|
|
||||||
//#define HAVE_LCD_SLEEP
|
//#define HAVE_LCD_SLEEP
|
||||||
//#define HAVE_LCD_SLEEP_SETTING
|
//#define HAVE_LCD_SLEEP_SETTING
|
||||||
#endif
|
#endif
|
||||||
|
@ -91,6 +90,10 @@
|
||||||
//#define CONFIG_TUNER LV24020LP
|
//#define CONFIG_TUNER LV24020LP
|
||||||
//#define HAVE_TUNER_PWR_CTRL
|
//#define HAVE_TUNER_PWR_CTRL
|
||||||
|
|
||||||
|
/* Define this for LCD backlight available */
|
||||||
|
#define HAVE_BACKLIGHT
|
||||||
|
//#define HAVE_BACKLIGHT_BRIGHTNESS /* TODO */
|
||||||
|
|
||||||
/* define this if you have a flash memory storage */
|
/* define this if you have a flash memory storage */
|
||||||
#define HAVE_FLASH_STORAGE
|
#define HAVE_FLASH_STORAGE
|
||||||
|
|
||||||
|
|
58
firmware/target/arm/as3525/sansa-clip/backlight-clip.c
Normal file
58
firmware/target/arm/as3525/sansa-clip/backlight-clip.c
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright © 2008 Rafaël Carré
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "backlight-target.h"
|
||||||
|
#include "as3525.h"
|
||||||
|
|
||||||
|
/* TODO : backlight brightness */
|
||||||
|
|
||||||
|
/* XXX : xpd is used for SD/MCI interface
|
||||||
|
* If interrupts are used to access this interface, they should be
|
||||||
|
* disabled in _buttonlight_on/off ()
|
||||||
|
*/
|
||||||
|
|
||||||
|
void _buttonlight_on(void)
|
||||||
|
{
|
||||||
|
int saved_ccu_io;
|
||||||
|
|
||||||
|
saved_ccu_io = CCU_IO; /* save XPD setting */
|
||||||
|
|
||||||
|
CCU_IO &= ~(3<<2); /* setup xpd as GPIO */
|
||||||
|
|
||||||
|
GPIOD_DIR |= (1<<7);
|
||||||
|
GPIOD_PIN(7) = (1<<7); /* set pin d7 high */
|
||||||
|
|
||||||
|
CCU_IO = saved_ccu_io; /* restore the previous XPD setting */
|
||||||
|
}
|
||||||
|
|
||||||
|
void _buttonlight_off(void)
|
||||||
|
{
|
||||||
|
int saved_ccu_io;
|
||||||
|
|
||||||
|
saved_ccu_io = CCU_IO; /* save XPD setting */
|
||||||
|
|
||||||
|
CCU_IO &= ~(3<<2); /* setup xpd as GPIO */
|
||||||
|
|
||||||
|
GPIOD_DIR |= (1<<7);
|
||||||
|
GPIOD_PIN(7) = 0; /* set pin d7 low */
|
||||||
|
|
||||||
|
CCU_IO = saved_ccu_io; /* restore the previous XPD setting */
|
||||||
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
* \/ \/ \/ \/ \/
|
* \/ \/ \/ \/ \/
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 ??
|
* Copyright © 2008 Rafaël Carré
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -21,17 +21,23 @@
|
||||||
#ifndef BACKLIGHT_TARGET_H
|
#ifndef BACKLIGHT_TARGET_H
|
||||||
#define BACKLIGHT_TARGET_H
|
#define BACKLIGHT_TARGET_H
|
||||||
|
|
||||||
static inline bool _backlight_init(void)
|
#include "stdbool.h"
|
||||||
{
|
#include "lcd.h"
|
||||||
return true;
|
#include "backlight.h"
|
||||||
}
|
|
||||||
|
#define _backlight_init() true
|
||||||
|
|
||||||
static inline void _backlight_on(void)
|
static inline void _backlight_on(void)
|
||||||
{
|
{
|
||||||
|
lcd_enable(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _backlight_off(void)
|
static inline void _backlight_off(void)
|
||||||
{
|
{
|
||||||
|
lcd_enable(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _buttonlight_on(void);
|
||||||
|
void _buttonlight_off(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -149,6 +149,9 @@ void lcd_set_flip(bool yesno)
|
||||||
|
|
||||||
void lcd_enable(bool enable)
|
void lcd_enable(bool enable)
|
||||||
{
|
{
|
||||||
|
if(display_on == enable)
|
||||||
|
return;
|
||||||
|
|
||||||
if( (display_on = enable) ) /* simple '=' is not a typo ! */
|
if( (display_on = enable) ) /* simple '=' is not a typo ! */
|
||||||
lcd_write_command(LCD_SET_DISPLAY_ON);
|
lcd_write_command(LCD_SET_DISPLAY_ON);
|
||||||
else
|
else
|
||||||
|
@ -240,6 +243,9 @@ void lcd_init_device(void)
|
||||||
void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
|
void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
|
||||||
int bheight, int stride)
|
int bheight, int stride)
|
||||||
{
|
{
|
||||||
|
if(!display_on)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Copy display bitmap to hardware */
|
/* Copy display bitmap to hardware */
|
||||||
while (bheight--)
|
while (bheight--)
|
||||||
{
|
{
|
||||||
|
@ -258,6 +264,13 @@ void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
|
||||||
void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
|
void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
|
||||||
int x, int by, int width, int bheight, int stride)
|
int x, int by, int width, int bheight, int stride)
|
||||||
{
|
{
|
||||||
|
/* TODO */
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
if(!display_on)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)values;
|
(void)values;
|
||||||
(void)phases;
|
(void)phases;
|
||||||
(void)x;
|
(void)x;
|
||||||
|
@ -274,6 +287,9 @@ void lcd_update(void)
|
||||||
{
|
{
|
||||||
int y;
|
int y;
|
||||||
|
|
||||||
|
if(!display_on)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Copy display bitmap to hardware */
|
/* Copy display bitmap to hardware */
|
||||||
for (y = 0; y < LCD_FBHEIGHT; y++)
|
for (y = 0; y < LCD_FBHEIGHT; y++)
|
||||||
{
|
{
|
||||||
|
@ -291,6 +307,9 @@ void lcd_update_rect(int x, int y, int width, int height)
|
||||||
{
|
{
|
||||||
int ymax;
|
int ymax;
|
||||||
|
|
||||||
|
if(!display_on)
|
||||||
|
return;
|
||||||
|
|
||||||
/* The Y coordinates have to work on even 8 pixel rows */
|
/* The Y coordinates have to work on even 8 pixel rows */
|
||||||
ymax = (y + height-1) >> 3;
|
ymax = (y + height-1) >> 3;
|
||||||
y >>= 3;
|
y >>= 3;
|
||||||
|
|
|
@ -445,9 +445,9 @@
|
||||||
#define UI_LCD_WIDTH 128
|
#define UI_LCD_WIDTH 128
|
||||||
#define UI_LCD_HEIGHT 64
|
#define UI_LCD_HEIGHT 64
|
||||||
#define UI_LCD_BGCOLOR 0, 0, 0 /* bkgnd color of LCD (no backlight) */
|
#define UI_LCD_BGCOLOR 0, 0, 0 /* bkgnd color of LCD (no backlight) */
|
||||||
#define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */
|
#define UI_LCD_BGCOLORLIGHT 0, 0, 0 /* bkgnd color of LCD (backlight) */
|
||||||
#define UI_LCD_FGCOLOR 13, 226, 229 /* foreground color of LCD (no backlight) */
|
#define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */
|
||||||
#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */
|
#define UI_LCD_FGCOLORLIGHT 13, 226, 229 /* foreground color of LCD (backlight) */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
extern SDL_Surface *gui_surface;
|
extern SDL_Surface *gui_surface;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue