|
@@ -7,7 +7,7 @@ import {StyleSheet, View, Text} from 'react-native';
|
|
|
import Library from 'trapilib/dist/lib';
|
|
|
import SideBar from './SideBar';
|
|
|
import MainBar from './MainBar';
|
|
|
-
|
|
|
+import ModuleBar from './ModuleBar';
|
|
|
|
|
|
|
|
|
let {
|
|
@@ -18,6 +18,7 @@ let {
|
|
|
|
|
|
export default class Gui {
|
|
|
constructor(phone , toolbox) {
|
|
|
+ this.ModuleBar = new ModuleBar();
|
|
|
this.Keyboard = new Keyboard();
|
|
|
this.phone = phone;
|
|
|
this.toolbox = toolbox;
|
|
@@ -143,6 +144,14 @@ export default class Gui {
|
|
|
</View>)
|
|
|
}
|
|
|
|
|
|
+ renderModuleBar(){
|
|
|
+ return (
|
|
|
+ <View>
|
|
|
+ {this.ModuleBar.render()}
|
|
|
+ </View>
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
@@ -197,7 +206,6 @@ const styles = StyleSheet.create({
|
|
|
width:256,
|
|
|
alignSelf: 'stretch',
|
|
|
flexDirection: 'column',
|
|
|
- backgroundColor:'blue'
|
|
|
}
|
|
|
|
|
|
|