Author Topic: font color for header files in project treeview  (Read 9080 times)

Offline DAnthrope

  • Single posting newcomer
  • *
  • Posts: 2
font color for header files in project treeview
« on: July 08, 2013, 09:56:40 pm »
New user - just downloaded/installed - love it so far.
I loaded up my existing project files - and C::B created folders for "Sources", "Headers", and "Resources" - and all my files are there.  HOWEVER - all my header files have the font color of what I can only describe as "gray - so light as to be nearly unreadable" - as with a disabled control.  But I have no trouble opening, editing, and saving these files.  So I'm not sure why they appear that way.  The .c files appear in black just fine.  In the filesystem the .c and .h files are together in the same folder.  And I have had no trouble doing builds. 

Anyone know why this might be happening?  It's very very difficult to read!

PS: I am on Windows 7 Ultimate, and using the GNU GCC MinGW compiler.

Regards!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: font color for header files in project treeview
« Reply #1 on: July 08, 2013, 10:12:37 pm »
Anyone know why this might be happening?  It's very very difficult to read!
This is done to tell you visually that header files won't be compiled or linked.
The latest nightly build allow you to change the color in the new color management system.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

zabzonk

  • Guest
Re: font color for header files in project treeview
« Reply #2 on: July 08, 2013, 10:27:51 pm »
Quote
This is done to tell you visually that header files won't be compiled or linked.

They certainly will be compiled (and linked) if they are included by a .cpp file. I've always thought the graying out was a daft idea, and am glad to see it can now be turned off.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: font color for header files in project treeview
« Reply #3 on: July 08, 2013, 11:12:53 pm »
They certainly will be compiled (and linked) if they are included by a .cpp file.
Dear Neil,

Next time please try to be constructive, because your last post wasn't.
What I've said is totally correct, a header file is not compiled on its own (if it is not precompiled), nor linked.

If you think it is compiled try the following - go to the properties of a header file, build, then enable compile and/or link options. Then have fun with your recompile.

Thank you.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline DAnthrope

  • Single posting newcomer
  • *
  • Posts: 2
Re: font color for header files in project treeview
« Reply #4 on: July 09, 2013, 12:11:47 am »
THANK YOU BOTH for the quick and informative replies!
And yes, I mean both.  I learned something from each one.
The question of what is really getting compiled/linked
made me have to stop and ponder it a while!
And I enjoyed that pondering! :-)
So I got my answer to the problem AND I got to ponder a bit!
Who could ask for more?

One question if I may - is there a timetable for when the next production release might come out with this fix in it?  Developer builds scare me :-) and I mean no offense by that! 

Oh - and although no one has asked me (and I sincerely do not want to incite a riot over the topic) - my opinion about it is that you're both correct from your perspective.  Technically, of course the data in the .h files is getting compiled because that data gets included in several .c/.cpp files right?  But from the UI perspective, that .h FILE is not itself "compilable".  I see both points, both are correct.  Now let's shake hands and be happy for me!  I love this new IDE!  (I'm a Visual Studio c# developer)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: font color for header files in project treeview
« Reply #5 on: July 09, 2013, 12:32:56 am »
One question if I may - is there a timetable for when the next production release might come out with this fix in it?  Developer builds scare me :-) and I mean no offense by that! 
When it is ready, currently there's no plan, but also there is no man power to do a release, but hopefully at the end of the year we will be able to do one.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

zabzonk

  • Guest
Re: font color for header files in project treeview
« Reply #6 on: July 09, 2013, 10:03:56 am »
Quote
Next time please try to be constructive, because your last post wasn't.

And that was? I've had enough of your fuckwitted comments here - I'm off.