forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Icon for symbolizer like the WindonMessage, need to refactore the…
… PopupNode in symbology example to manage different kind of widget
- Loading branch information
Cedric Pinson
committed
Apr 5, 2010
1 parent
54f8d4d
commit 38dca80
Showing
7 changed files
with
439 additions
and
69 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* -*-c++-*- */ | ||
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph | ||
* Copyright 2008-2009 Pelican Ventures, Inc. | ||
* http://osgearth.org | ||
* | ||
* osgEarth is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/> | ||
*/ | ||
|
||
#ifndef OSGEARTHSYMBOLOGY_WIDGET_ICON_H | ||
#define OSGEARTHSYMBOLOGY_WIDGET_ICON 1 | ||
|
||
#include <osgEarthSymbology/Common> | ||
#include <osgWidget/Frame> | ||
#include <osgWidget/Window> | ||
#include <osgWidget/Label> | ||
|
||
namespace osgEarth { namespace Symbology | ||
{ | ||
|
||
class OSGEARTHSYMBOLOGY_EXPORT WidgetIcon | ||
{ | ||
public: | ||
|
||
osgWidget::Frame* getWindow(); | ||
|
||
bool createWithBorder(osg::Image* themeBorder, | ||
osg::Image* icon); | ||
|
||
bool create(osg::Image* icon); | ||
|
||
protected: | ||
|
||
osg::ref_ptr<osgWidget::Frame> _window; | ||
|
||
}; | ||
|
||
|
||
}} | ||
|
||
#endif |
Oops, something went wrong.