mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 03:08:12 +08:00
30 lines
633 B
C++
30 lines
633 B
C++
#include <controlpanel.h>
|
|
#include <view/layoutinflater.h>
|
|
#include <R.h>
|
|
namespace cdroid{
|
|
|
|
ControlPanel::ControlPanel(Context*ctx,const AttributeSet&atts)
|
|
:FrameLayout(ctx,atts){
|
|
}
|
|
|
|
void ControlPanel::loadFrame(const std::string&resid){
|
|
LayoutInflater::from(mContext)->inflate(resid,this,true);
|
|
}
|
|
void ControlPanel::init(){
|
|
}
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
SencePanel::SencePanel(Context*ctx,const AttributeSet&atts)
|
|
:ControlPanel(ctx,atts){
|
|
}
|
|
|
|
void SencePanel::init(){
|
|
mGridView= (GridView*)findViewById(uidemo2::R::id::gridview);
|
|
}
|
|
|
|
SencePanel::~SencePanel(){
|
|
}
|
|
|
|
}
|
|
|