+
Skip to content

ColorCop/ColorCop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorCop

A Windows-based color picker utility built with Microsoft Foundation Classes (MFC).

Features

  • System tray color picker for Windows
  • Real-time color sampling from anywhere on screen
  • Multiple color format support (RGB, HEX, HSV)

Requirements

  • Windows 10/11 (x86/x64)
  • Visual Studio 2022 with the following components:
    • MSVC v143 compiler toolset
    • Windows 10/11 SDK
    • MFC for latest v143 build tools (x86 & x64)

Building

Quick Build

build.bat

Manual Build

# Using MSBuild directly
MSBuild.exe ColorCop.sln /p:Configuration=Release /p:Platform=Win32

# Or open in Visual Studio 2022
start ColorCop.sln

Build Configurations

  • Debug: Development build with debugging symbols
  • Release: Optimized production build

Installation

  1. Build the project using the steps above
  2. Run ColorCop.exe from the Release/ directory
  3. The application will appear in your system tray

Development

Project Structure

  • ColorCop.cpp/h - Main application class
  • ColorCopDlg.cpp/h - Main dialog implementation
  • SystemTray.cpp/h - System tray functionality
  • colorspace.cpp/h - Color conversion utilities
  • Res/ - Application resources and icons

Code Linting

This project uses [cpplint](https://github.com/cpplint/cpplint) to enforce C++ style guidelines.

Install:

pip install cpplint

Run linting:

cpplint --recursive .

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly on Windows 10/11
  5. Submit a pull request

License

See LICENSE.TXT for details.

Troubleshooting

Build Errors:

  • Ensure MFC components are installed in Visual Studio 2022
  • Verify Windows SDK is installed
  • Check that platform toolset is set to v143

Runtime Issues:

  • Install Visual C++ Redistributable for Visual Studio 2022

Sponsor this project

 

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载