// http://www.apache.org/licenses/LICENSE-2.0/
//
// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an ”AS IS” BASIS,
+// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
class ProgressPopupSample
: public Tizen::Ui::Controls::Form
, public Tizen::Ui::IProgressPopupEventListener
+ , public Tizen::Ui::IActionEventListener
{
public:
ProgressPopupSample(void);
// Creates an instance of Button to open the ProgressPopup.
Button* pButtonProgressPopup = new Button();
- pButtonProgressPopup->Construct(Rectangle(10, 10, 250, 60), L"Open ProgressPopup");
+ pButtonProgressPopup->Construct(Rectangle(50, 50, 350, 100), L"Open ProgressPopup");
pButtonProgressPopup->SetActionId(ID_BUTTON_PROGRESSPOPUP);
pButtonProgressPopup->AddActionEventListener(*this);
+ AddControl(pButtonProgressPopup);
return r;
}