Previous Next
Going to a variable's definition

You now want to get information about the declaration and definition of gLook . To do so:

  1. Double-click on the symbol gLook in the Source Editor's main view.
    gLook is now highlighted.
  2. Choose Show > Symbol(s) gLook...
    SNiFF+ positions the Source Editor to the definition of gLook.
    As you can see the global variable
    gLook is declared to be a pointer of type Look . In class Look (Look.h) it is referenced as an external variable.
    You may now want more information about class
    Look .
  1. Double-click on Look in the Source Editor's main view.
    Look is now highlighted.
  2. Choose Class > Browse Look.
    The Class Browser opens.
  3. Remember, earlier on you selected overridden in the Modifiers drop-down. To see all methods, make sure All modifiers is selected in this drop-down.
  4. Double-click on method DrawHighlight to load its source code into the Source Editor.
  5. Close the Class Browser.