Detecting Colour and Monochrome Monitors: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Solar (talk | contribs)
→‎The Function: Simplified...
Graham (talk | contribs)
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);
}
}
</pre>
</source>


[[Category:Video]]
[[Category:Video]]