Code::Blocks Forums
User forums => Help => Topic started by: SterlingM on March 22, 2010, 04:40:37 pm
-
If I import header files into a project, they are all a greyish transparent color in the side list of files instead of black. If I import .cpp files, they remain black. Why are the headers files different? What does it mean?
-
Why are the headers files different? What does it mean?
Black means: The file shall be compiled. Grey means: Do not compile the file.
For C++ implementation files (e.g. *.cpp) the default option is to compile the file until the user explicitly turn this off.
For C++ header files (e.g. *.h) the default option is not to compile the file until the user explicitly turn this on, which is the case usually only for pre-compiled header files a.k.a. "PCH".
-
I find this a major nuisance. I use a light grey background in my Windows environment because a white background is too hard on my eyes. The header file names are barely visible to me.
It would be really nice if I could change the background color of the "Projects" window.
--
Bert Menkveld