Author Topic: Imported Headers In Lighter Color Font  (Read 2661 times)

Offline SterlingM

  • Single posting newcomer
  • *
  • Posts: 2
Imported Headers In Lighter Color Font
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Imported Headers In Lighter Color Font
« Reply #1 on: March 22, 2010, 04:45:41 pm »
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".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

bmenkveld

  • Guest
Re: Imported Headers In Lighter Color Font
« Reply #2 on: June 25, 2010, 10:00:59 pm »
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