Permalink
Browse files

initial import

  • Loading branch information...
1 parent d2e85b5 commit fb4b07890d90a7a4eddd09397d29235c571c3ef3 @j4y j4y committed Jul 31, 2015
Showing with 9,795 additions and 0 deletions.
  1. +58 −0 AggressiveOptimize.h
  2. +48 −0 BETA/Beta_info.txt
  3. +145 −0 ColorCop.001
  4. +152 −0 ColorCop.002
  5. +199 −0 ColorCop.clw
  6. +480 −0 ColorCop.cpp
  7. +17 −0 ColorCop.dep
  8. +274 −0 ColorCop.dsp
  9. +29 −0 ColorCop.dsw
  10. +69 −0 ColorCop.h
  11. +494 −0 ColorCop.mak
  12. +514 −0 ColorCop.rc
  13. +13 −0 ColorCop.rc2
  14. +4,176 −0 ColorCopDlg.cpp
  15. +88 −0 ColorCopDlg.dsp
  16. +29 −0 ColorCopDlg.dsw
  17. +319 −0 ColorCopDlg.h
  18. +213 −0 Label.cpp
  19. +73 −0 Label.h
  20. +302 −0 README.txt
  21. +1 −0 Release.dat
  22. +13 −0 Res/ColorCop.rc2
  23. BIN Res/cross.cur
  24. BIN Res/cur00001.cur
  25. BIN Res/cur00002.cur
  26. BIN Res/cur00003.cur
  27. BIN Res/cursor1.cur
  28. BIN Res/cursor3.cur
  29. BIN Res/cursor_m.cur
  30. BIN Res/eyeyedropper.ico
  31. BIN Res/hand.cur
  32. BIN Res/ico00001.ico
  33. BIN Res/ico00002.ico
  34. BIN Res/ico00003.ico
  35. BIN Res/ico16.ico
  36. BIN Res/icon1.ico
  37. BIN Res/idr_main.ico
  38. BIN Res/move4way.cur
  39. +6 −0 StdAfx.cpp
  40. +64 −0 StdAfx.h
  41. +377 −0 SystemTray.cpp
  42. +117 −0 SystemTray.h
  43. +10 −0 _PACKAGE.bat
  44. +6 −0 build.bat
  45. +3 −0 build.old
  46. +2 −0 codesign/GEN_CERTbatch.bat
  47. +179 −0 codesign/Office 2000 Tool PVK Digital Certificate Files Importer/license.txt
  48. +13 −0 codesign/Office 2000 Tool PVK Digital Certificate Files Importer/readme.txt
  49. +11 −0 codesign/Office 2000 Tool PVK Digital Certificate Files Importer/redist.txt
  50. +2 −0 codesign/REQ_CERTbatch.bat
  51. +55 −0 codesign/cert.p7b
  52. 0 codesign/cert.p7b~
  53. +1 −0 codesign/july07cert.p7b
  54. +10 −0 codesign/oct07/1_cert_request.txt
  55. BIN codesign/oct07/2_oct07.cer
  56. BIN codesign/oct07/Oct07.p7b
  57. BIN codesign/oct07/Ocy07.p7b
  58. BIN codesign/oct07/PVKImprt EULA.doc
  59. +18 −0 codesign/oct07/j.cer
  60. +20 −0 codesign/real_cert.cer
  61. 0 codesign/real_cert.cer~
  62. +19 −0 codesign/real_cert2.cer
  63. +4 −0 codesign/testsign.bat
  64. +150 −0 colorspace.cpp
  65. +25 −0 colorspace.h
  66. +51 −0 inno/colorcop.iss
  67. +51 −0 inno/colorcop.iss~
  68. +9 −0 killcolorcop.bat
  69. +15 −0 package.bat
  70. BIN packaging/32x32.bmp
  71. BIN packaging/32x32_64colors.bmp
  72. BIN packaging/32x32_64colors.gif
  73. BIN packaging/ColorCop.GID
  74. BIN packaging/ColorCop.HLP
  75. BIN packaging/ColorCop5.bmp
  76. BIN packaging/ColorCop5.dat
  77. BIN packaging/Polish/ColorCop_polish_5.4.3.rar
  78. BIN packaging/Polish/colorcop_pl.zip
  79. +1 −0 packaging/Polish/translator.txt
  80. BIN packaging/colorcop.zip
  81. BIN packaging/colorcop/ColorCop.GID
  82. BIN packaging/colorcop/ColorCop.HLP
  83. BIN packaging/colorcop/colorcop.zip
  84. +10 −0 packaging/colorcop/file_id.diz
  85. +39 −0 packaging/colorcop/license.txt
  86. +298 −0 packaging/colorcop/readme.txt
  87. BIN packaging/colorcop5.0.0.zip
  88. +44 −0 packaging/license.txt
  89. BIN packaging/newicon.psd
  90. BIN packaging/phrack46-8_pagers.pdf
  91. BIN packaging/prerelease.gif
  92. +288 −0 packaging/readme.txt
  93. BIN packaging/splash.psd
  94. +187 −0 resource.h
  95. +4 −0 resource.hm
  96. BIN v5.4_new_icons/256x256.png
  97. BIN v5.4_new_icons/Thumbs.db
  98. BIN v5.4_new_icons/ico16.ico
  99. BIN v5.4_new_icons/idr_main.ico
  100. BIN v5.4_new_icons/old/idr_main.ico
View
@@ -0,0 +1,58 @@
+
+//////////////////////////////
+// Version 1.10
+// Jan 23rd, 2000
+// Version 1.00
+// May 20th, 1999
+// Todd C. Wilson, Fresh Ground Software
+// (todd@nopcode.com)
+// This header file will kick in settings for Visual C++ 5 and 6 that will (usually)
+// result in smaller exe's.
+// The "trick" is to tell the compiler to not pad out the function calls; this is done
+// by not using the /O1 or /O2 option - if you do, you implicitly use /Gy, which pads
+// out each and every function call. In one single 500k dll, I managed to cut out 120k
+// by this alone!
+// The other two "tricks" are telling the Linker to merge all data-type segments together
+// in the exe file. The relocation, read-only (constants) data, and code section (.text)
+// sections can almost always be merged. Each section merged can save 4k in exe space,
+// since each section is padded out to 4k chunks. This is very noticable with smaller
+// exes, since you could have only 700 bytes of data, 300 bytes of code, 94 bytes of
+// strings - padded out, this could be 12k of runtime, for 1094 bytes of stuff!
+// Note that if you're using MFC static or some other 3rd party libs, you may get poor
+// results with merging the readonly (.rdata) section - the exe may grow larger.
+// To use this feature, define _MERGE_DATA_ in your project or before this header is used.
+// With Visual C++ 5, the program uses a file alignement of 512 bytes, which results
+// in a small exe. Under VC6, the program instead uses 4k, which is the same as the
+// section size. The reason (from what I understand) is that 4k is the chunk size of
+// the virtual memory manager, and that WinAlign (an end-user tuning tool for Win98)
+// will re-align the programs on this boundary. The problem with this is that all of
+// Microsoft's system exes and dlls are not tuned like this, and using 4k causes serious
+// exe bloat. Very noticable for smaller programs.
+// The "trick" for this is to use the undocumented FILEALIGN linker parm to change the
+// padding from 4k to 1/2k, which results in a much smaller exe - anywhere from 20%-75%
+// depending on the size.
+
+
+#ifdef NDEBUG
+// /Og (global optimizations), /Os (favor small code), /Oy (no frame pointers)
+#pragma optimize("gsy",on)
+
+#pragma comment(linker,"/RELEASE")
+
+// Note that merging the .rdata section will result in LARGER exe's if you using
+// MFC (esp. static link). If this is desirable, define _MERGE_RDATA_ in your project.
+#ifdef _MERGE_RDATA_
+#pragma comment(linker,"/merge:.rdata=.data")
+#endif // _MERGE_RDATA_
+
+#pragma comment(linker,"/merge:.text=.data")
+#pragma comment(linker,"/merge:.reloc=.data")
+
+#if _MSC_VER >= 1000
+// Only supported/needed with VC6; VC5 already does 0x200 for release builds.
+// Totally undocumented! And if you set it lower than 512 bytes, the program crashes.
+// Either leave at 0x200 or 0x1000
+#pragma comment(linker,"/FILEALIGN:0x200")
+#endif // _MSC_VER >= 1000
+
+#endif // NDEBUG
View
@@ -0,0 +1,48 @@
+
+Color Cop Beta (#3) 2/17/03 12pm ...
+Color Cop Beta (#4) 2/20/03 9pm - Fixed a few bugs and improved handling. started help update
+
+EMail me at Jay @ datastic.com if you have suggestions.
+
+
+
+What's new:
+
+1) Detect Websafe - Displays whether the selected color is websafe or not. Maybe there is a better way that I can display whether the color is websafe or not? It currently uses the status bar. it has been reported that this doesn't work in 3x3 or 5x5 pixel sampling modes. This is because it wouldn't fit in the status bar. Maybe I'll find a way to shorten the text up.
+
+2) Allow Multiple Instances - It's now possible to set that only one instance of color cop can run at once. This was an option that a user suggested a while back and I got bored one day so I put it in.
+
+3) RGB Float mode - outputs the selected color in R/255,G/255,B/255 (0.47,0.47,1.00) someone is using this with a 3D program called Renderman. Alt+[ will decrease float precision and Alt+] will increate float precision.
+
+4) RGB Int mode - outputs the selected color in in R,G,B (128,255,64) I figured if I was going to put in a floating point mode why not put the int mode in.
+
+5) Use Cross Hair Cursor - This allows the user to switch between the eyedropper and the standard cross hair cursor. Some users like to select colors with the cross hair because it has precision. It needs to be centered a little better.
+
+6) Magnify while eyedropping - With this option selected, you can magnify while you are eyedropping. A small black square will appear to show you the location of the cursor. The black square will disappear when you release the mouse. This doesn't look so great when you are eyedropping over black or dark colors. Ideas? I am working on getting it centered so that it looks better. Right now it's hard coded at the 4x magnification level, but I think I can get it to use the magnification level that the magnifier was using.
+
+7) Relative position measurements - Press the control key while eyedropping and the coordinates will be set to zero (0,0). Drag the mouse to a new location and it will display the distance relative to the point you were over when you pressed control. If you press control again it will zero (0,0) Note that the measurement is zero-based. so if it says 8,8 it's really a 9by9 area because the zero pixel counts. (The inverted rectangle has been removed)
+
+
+
+Ideas:
+1) more color slots in the color history
+2) I'm thinking of removing the Expand/Collapse dialog button. I'll leave it as an option in the menu, but I don't think anyone uses it.
+3) HSL color model needs to be added
+4) [your idea here will go here]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Thanks to everyone for all their help.
View
@@ -0,0 +1,145 @@
+# Microsoft Developer Studio Project File - Name="ColorCop" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=ColorCop - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "ColorCop.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "ColorCop.mak" CFG="ColorCop - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "ColorCop - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "ColorCop - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "ColorCop - Win32 Release"
+
+# PROP BASE Use_MFC 6
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 6
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
+# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
+# ADD LINK32 /nologo /subsystem:windows /machine:I386
+
+!ELSEIF "$(CFG)" == "ColorCop - Win32 Debug"
+
+# PROP BASE Use_MFC 6
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 6
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
+# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "ColorCop - Win32 Release"
+# Name "ColorCop - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\ColorCop.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\ColorCop.rc
+# End Source File
+# Begin Source File
+
+SOURCE=.\ColorCopDlg.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\StdAfx.cpp
+# ADD CPP /Yc"stdafx.h"
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\ColorCop.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\ColorCopDlg.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\Resource.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StdAfx.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
+# Begin Source File
+
+SOURCE=.\res\ColorCop.ico
+# End Source File
+# Begin Source File
+
+SOURCE=.\res\ColorCop.rc2
+# End Source File
+# End Group
+# Begin Source File
+
+SOURCE=.\ReadMe.txt
+# End Source File
+# End Target
+# End Project
Oops, something went wrong.

0 comments on commit fb4b078

Please sign in to comment.