Fragment pro nastavení nástroje AlphaBrush.
More...
|
View | initView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) |
| Provede inicializaci view.
|
|
void | setBrush () |
| Pošle jádru příkaz pro nastavení štětce na zvolený.
|
|
Fragment pro nastavení nástroje AlphaBrush.
Definition at line 31 of file AlphaBrushToolSettingsFragment.java.
View mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.initView |
( |
LayoutInflater |
inflater, |
|
|
ViewGroup |
container, |
|
|
Bundle |
savedInstanceState |
|
) |
| |
|
inlineprotected |
Provede inicializaci view.
- Parameters
-
inflater | |
container | |
savedInstanceState | |
- Returns
Definition at line 60 of file AlphaBrushToolSettingsFragment.java.
{
root = inflater.inflate(
R.layout.fragment_alpha_brush_tool_settings, container,
false);
ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(
activity,
R.array.AlphaModeNames, android.R.layout.simple_spinner_item);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
brushPicker = (RoundBrushPickerView)
root.findViewById(
R.id.AlphaBrushRoundBrushPicker);
pathPicker = (PathPickerView)
root.findViewById(
R.id.AlphaBrushPathPicker);
}
void mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.onAttach |
( |
Activity |
activity | ) |
|
|
inline |
void mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.onClick |
( |
View |
v | ) |
|
|
inline |
View mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.onCreateView |
( |
LayoutInflater |
inflater, |
|
|
ViewGroup |
container, |
|
|
Bundle |
savedInstanceState |
|
) |
| |
|
inline |
void mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.onResume |
( |
| ) |
|
|
inline |
void mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.setBrush |
( |
| ) |
|
|
inlineprotected |
Pošle jádru příkaz pro nastavení štětce na zvolený.
Definition at line 89 of file AlphaBrushToolSettingsFragment.java.
{
BrushMode mode = null;
case 0:
mode = BrushMode.MODE_ADD;
break;
case 1:
mode = BrushMode.MODE_REMOVE;
break;
}
/ 100.0)));
}
AppMainActivity mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.activity |
|
protected |
boolean mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.firstCreated = true |
|
protected |
Spinner mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.modePicker |
|
protected |
boolean mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.pathLivePreviewOn |
|
protected |
PathPickerView mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.pathPicker |
|
protected |
View mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.root |
|
protected |
Button mhr.app.fragments.toolbox.AlphaBrushToolSettingsFragment.selectAlphaBrushToolBtn |
|
protected |
The documentation for this class was generated from the following file: