Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Visual pop-up from intelisense shows enum values instead of names  (Read 1249 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Hi. :)
This is quite stupid but I couldn't find it by googling or anywhere in options.
I recently upgraded to vs2010 from vs 2008 and now in code completion, functions default parameters that are integrals but use enum constants(the bit flags approach with enums being 1<<x and |s to specify few options in one function parameter, like window style in sf and sfg) are shown as values.
Ie. I see sfg::Window::Create(int style=7) instead of sfg::Window::Create(int style=TOPLEVEL).
Back to C++ gamedev with SFML in May 2023

Predator106

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Visual pop-up from intelisense shows enum values instead of names
« Reply #1 on: November 05, 2012, 03:55:04 am »
what does this have to do with SFML?

this is just an IDE issue. stop using VS and use something sane like kdevelop 4, or ask in the VS microsoft forums or whatever.