Esempio n. 1
0
 public void setSelectionColor(Color color)
 {
     if (textDisplay != null)
     {
         text = textDisplay.addColorToSelectedText(color);
         textDisplay.setText(text);
     }
 }
Esempio n. 2
0
        internal ITextDisplay showText(String text, String cameraName)
        {
            ITextDisplay textDisplay = null;

            if (TextDisplayFactory != null)
            {
                textDisplay = TextDisplayFactory.createTextDisplay(cameraName);
                textDisplay.setText(text);
                textDisplay.show();
            }
            else
            {
                Log.Warning("Could not display text {0}. No TextDisplayFactory defined.");
            }
            return(textDisplay);
        }