Detecting Colour and Monochrome Monitors: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→The Function: Simplified... |
m enabled syntax highlighting in the code snippet |
||
Line 2: | Line 2: | ||
== The Function == |
== The Function == |
||
<source lang="c"> |
|||
<pre> |
|||
/* |
/* |
||
Video card mono/colour detection. |
Video card mono/colour detection. |
||
Line 16: | Line 16: | ||
return (c==0x30); |
return (c==0x30); |
||
} |
} |
||
</ |
</source> |
||
[[Category:Video]] |
[[Category:Video]] |