Project

General

Profile

« Previous | Next » 

Revision 304cdff5

Added by Leszek Koltunski over 4 years ago

new app icons; skeleton of reading/write a Mesh from/to a file.

View differences:

src/main/java/org/distorted/examples/TableOfContents.java
124 124
    MESHJOIN          (R.drawable.icon_example_meshjoin        , R.string.example_meshjoin           , R.string.example_meshjoin_subtitle           ,            MeshJoinActivity.class),
125 125
    PREDEFORM         (R.drawable.icon_example_predeform       , R.string.example_predeform           , R.string.example_predeform_subtitle           ,            PredeformActivity.class),
126 126
    DEFERREDJOB       (R.drawable.icon_example_deferredjob     , R.string.example_deferredjob           , R.string.example_deferredjob_subtitle           ,            DeferredJobActivity.class),
127
    SINGLEMESH        (R.drawable.icon_example_wip             , R.string.example_singlemesh           , R.string.example_singlemesh_subtitle           ,            SingleMeshActivity.class),
127
    SINGLEMESH        (R.drawable.icon_example_singlemesh      , R.string.example_singlemesh           , R.string.example_singlemesh_subtitle           ,            SingleMeshActivity.class),
128 128
    ;
129 129

  
130 130
    final int icon, title, subtitle;
src/main/res/layout/deferredjoblayout.xml
19 19
            android:layout_width="wrap_content"
20 20
            android:layout_height="match_parent"
21 21
            android:id="@+id/deferredjobButton0"
22
            android:text="@string/color_red"
22
            android:text="@string/rotate_left"
23 23
            android:onClick="onClick"
24 24
            android:layout_weight="1"/>
25 25
        <Button
26 26
            android:layout_width="wrap_content"
27 27
            android:layout_height="match_parent"
28 28
            android:id="@+id/deferredjobButton1"
29
            android:text="@string/color_green"
29
            android:text="@string/rotate_right"
30 30
            android:onClick="onClick"
31 31
            android:layout_weight="1"/>
32 32

  
src/main/res/values/strings.xml
85 85
    <string name="credits">Credits</string>
86 86
    <string name="start">Start</string>
87 87
    <string name="association">Sink Association</string>
88
    <string name="rotate_left">Rotate Left</string>
89
    <string name="rotate_right">Rotate Right</string>
88 90

  
89 91
    <string name="quality0">Highest</string>
90 92
    <string name="quality1">High</string>

Also available in: Unified diff