Format:
Recent snippets matching tags of Color
#include "Text.h" #include <iostream> using namespace std; int main() { Text longText( 6, "Hello World, this is a program that output text like you would see in RPG..", 50 ); longText.output(); return 0; }
14 Views
no comments
#ifndef TEXT_H #define TEXT_H #include <string> using std::string; class Text { private:
14 Views
no comments
#include "Text.h" #include <Windows.h> #include <string> #include <iostream> using namespace std; // todo: add desired color to text Text::Text() : color( 0 ), text( "DefaultText" ), speedDisplay( 0 )
14 Views
no comments
Public Function generateGrayScaleImage(ByVal sourcePath As String, ByVal destinationPath As String) As Boolean Dim originalImage As Bitmap = Nothing Dim newBitmap As Bitmap = Nothing Dim g As Graphics = Nothing Dim success As Boolean = False If File.Exists(sourcePath) Then Try originalImage = Bitmap.FromFile(sourcePath) Catch ex As Exception
222 Views
no comments
using System.Collections.Generic; using System.Windows.Media; namespace Sketchables { /// <summary> /// Provides a dictionary of named colors. /// </summary> public static class WellKnownColors {
548 Views
no comments
//Writes colored text to the console and allows to clear previously written lines //as long a not line break is present //Sample - screenshot at http://img299.imageshack.us/img299/3931/consolex.png C.InfoLine("Non-colored text..."); C.Error("Outch, an error."); Thread.CurrentThread.Join(1000); C.ClearLine();
334 Views
no comments
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\FontAndColors\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}]
"Colorable item format version"=dword:00000008
"Plain Text Foreground"=dword:00e0e0e0
"Plain Text Background"=dword:00303030
"Plain Text FontFlags"=dword:00000000
"Selected Text Foreground"=dword:00000000
"Selected Text Background"=dword:00c0c0c0
"Selected Text FontFlags"=dword:00000000
629 Views
no comments
var hex = ['FF', 'CC', '99', '66', '33', '00']; function colorPanel(){ for (var i = 0; i < 6; i++) { for (var j = 0; j < 6; j++) { for (var k = 0; k < 6; k++) { var color = hex[j] + hex[k] + hex[i]; document.write('#' + color + '<br />'); } }
326 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
