Previous Next
Symbols with the same name

  1. Double-click on DrawHighlight in the Source Editor's main view.
    Now only the method
    DrawHighlight is highlighted.
  2. Choose Show > Symbol(s) DrawHighlight....
    SNiFF+ opens the Choose Symbol - DrawHighlight dialog presenting the choices. The Choose Symbol dialog opens when there is more than one symbol called
    DrawHighlight . If there is only one symbol called DrawHighlight , the Source Editor is positioned at its implementation.

    Click for full size, then use Back button

    You have six symbols matching DrawHighlight .
    You may now want to see only those symbols that are defined or implemented in the file
    Look.C and in all header files which are included by Look.C .

    • Select the Scan only included files check box.
    Now only one entry is shown.
    • Double-click on void Look::DrawHighlight (Rectangle &).
    The symbol is loaded into the Source Editor.
    In this chapter you started from
    ActionButton::GetMinSize and browsed the variable gLook . You then learned more about the class Look , which uses gLook .You then looked at methods which are implemented in Look, e.g. DrawHighlight .
    In the next chapter you'll find out where else in your source code
    gLook is used by using the Retriever, a tool that lets you to query the entire project structure.