PPSkin Codeschnipsel Auslesen Routeoptions zur Anzeige in Map mobutu // TODO: Minimise duplication of the route options menu by using a subform RouteOptionsAreaMapMenu { Coordinates: 0,0,480,272; Background: 52,0,0,480,272,0,0; DefaultFont: 7; TitleBar { ID: 112233; Class: SkinIcon; Coordinates: $TITLEBAR_CORDS$; BitmapReference: $TITLEBAR_ICON2$; } Title { ID: 6677; Class: SkinText; Coordinates: $TITLE_COORDS$; //TextColor: 255,255,255; TextColor: $TTC$; TextId: 30002; BGMode: Transparent; Align: left; VAlign: center; Font: 1; } //TitlebarExitButton //{ // Class: PushButton; // Coordinates: 0,0,50,35; // Enabled: 207,0,0,50,35,0,0; // Focussed: 207,0,0,50,35,0,0; // Pushed:207,0,35,50,35,0,0; // Action:MainMenu.1; // Layer: OnTop; //} PictureIcon { Class: SkinIcon; Coordinates: 0,35,480,44; BitmapReference: 182,0,0,480,44,0,0; } NaviTypeDropDown { ID: 10073; Class: Dropdown; ElementClass: SkinButton; BGColor: $AREA_BG_COLOR$; Coordinates: 0,32,240,48; Enabled: 310,0,0,240,48,0,0; Focussed: 310,0,48,240,48,0,0; Pushed: 310,0,96,240,48,0,0; Disabled: 310,0,144,240,48,0,0; Icon: 12,0,0,30,30,22,9,255,0,255; PYOffset: 2; DroppedCoordinates: $DROPPED_COORDS$; TextColor: $TC3$; //0,0,0; ElemMinHeight: 80; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; ListBox: NaviTypeTextListBox; ListBoxForm: NaviTypeSubSkin; TextHasIconIndex: yo; FirstTextID: 6120; LastTextID: $NAVI_MODE_LAST_ID$; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; //DDArrow: 144,0,0,11,6,72,24,255,0,255; } DummyButton { Class: PushButton; Coordinates: 0,80,240,48; Text: ""; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; HAlign: center; VAlign: center; Enabled: 186,0,0,240,48,0,0; Focussed: 186,0,48,240,48,0,0; Pushed: 186,0,96,240,48,0,0; Disabled: 186,0,144,240,48,0,0; //Icon: 424,0,0,30,30,45,10,255,0,255; PYOffset: 2; Wordbreak: yes; //Action: MapMenu.tripinfo; } NextPointButton { Class: LauncherButton; //Coordinates: 0,80,240,48; Text: "Nächster Wegpunkt"; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; HAlign: left; VAlign: center; Enabled: $GKH_EN$; Focussed: $GKH_FO$; Pushed: $GKH_PU$; Disabled: $GKH_DI$; Icon: 11,0,60,30,30,22,8,255,0,255; PYOffset: 2; Wordbreak: yes; KPush: enter; launch: "\My Flash Disk\koord465.exe"; params: "window=0 LKlick=3000 x=456 y=230 route=\My Flash Disk\Navigation\Routes\"; Action: MapMenu.leave; } RouteTypeDropDown { ID: 10074; Class: DropDown; ElementClass: SkinButton; BGColor: $AREA_BG_COLOR$; Coordinates: 200,176,80,48; Enabled: 183,96,0,80,48,0,0; Focussed: 183,96,48,80,48,0,0; Pushed: 183,96,96,80,48,0,0; Disabled: 183,96,144,80,48,0,0; Icon: 13,0,0,30,30,25,9,255,0,255; PYOffset: 2; ElemMinHeight: 80; DroppedCoordinates: $DROPPED_COORDS$; TextColor: $TC3$; //0,0,0; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; ListBox: RouteTypeTextListBox; ListBoxForm: RouteTypeSubSkin; TextHasIconIndex: yo; FirstTextID: 6100; LastTextID: 6102; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; } DummyButton { Class: PushButton; //Coordinates: 280,176,200,48; Text: ""; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; HAlign: center; VAlign: center; Enabled: 310,0,0,200,48,0,0; Focussed: 310,0,48,200,48,0,0; Pushed: 310,0,96,200,48,0,0; Disabled: 310,0,144,200,48,0,0; //Icon: 424,0,0,30,30,45,10,255,0,255; PYOffset: 2; Wordbreak: yes; //Action: MapMenu.tripinfo; } OmitTollRoadsDropDown { ID: 10206; Class: DropDown; BGColor: $AREA_BG_COLOR$; ElementClass: SkinButton; Coordinates: 240,32,280,48; Enabled: 310,0,0,280,48,0,0; Focussed: 310,0,48,280,48,0,0; Pushed: 310,0,96,280,48,0,0; Disabled: 310,0,144,280,48,0,0; Icon: 138,0,0,30,30,22,9,255,0,255; PYOffset: 2; ElemMinHeight: 80; DroppedCoordinates: $DROPPED_COORDS$; TextColor: $TC3$; TextCoordinates: 75,0,165,48; ListBox: OmitTollRoadsTextListBox; ListBoxForm: OmitTollRoadsSubSkin; TextHasIconIndex: yo; FirstTextID: 6150; LastTextID: 6151; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; } FerriesDropDown { ID: 10208; Class: DropDown; ElementClass: SkinButton; Coordinates: 240,80,280,48; Enabled: 310,0,0,280,48,0,0; Focussed: 310,0,48,280,48,0,0; Pushed: 310,0,96,280,48,0,0; Disabled: 310,0,144,280,48,0,0; Icon: 138,0,0,30,30,22,9,255,0,255; PYOffset: 2; ElemMinHeight: 80; DroppedCoordinates: $DROPPED_COORDS$; BGColor: $AREA_BG_COLOR$; TextColor: $TC3$; TextCoordinates: 75,0,165,48; ListBox: FerriesTextListBox; ListBoxForm: FerriesSubSkin; TextHasIconIndex: yo; FirstTextID: 6140; LastTextID: 6141; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; } DummyButton { Class: PushButton; //Coordinates: 240,32,240,48; Text: ""; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; HAlign: center; VAlign: center; Enabled: 186,0,0,240,48,0,0; Focussed: 186,0,48,240,48,0,0; Pushed: 186,0,96,240,48,0,0; Disabled: 186,0,144,240,48,0,0; //Icon: 424,0,0,30,30,45,10,255,0,255; PYOffset: 2; Wordbreak: yes; //Action: MapMenu.tripinfo; } RoadClass0DropDown { ID: 10207; Class: DropDown; ElementClass: SkinButton; Coordinates: 200,128,80,48; Enabled: 183,96,0,80,48,0,0; Focussed: 183,96,48,80,48,0,0; Pushed: 183,96,96,80,48,0,0; Disabled: 183,96,144,80,48,0,0; Icon: 138,0,0,30,30,25,9,255,0,255; PYOffset: 2; ElemMinHeight: 80; DroppedCoordinates: $DROPPED_COORDS$; BGColor: $AREA_BG_COLOR$; TextColor: $TC3$; TextCoordinates: 82,0,35,48; ListBox: RoadClass0TextListBox; ListBoxForm: RoadClass0SubSkin; TextHasIconIndex: yo; FirstTextID: 6130; LastTextID: 6131; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; } CongestionByPassDropDown { ID: 10251; Class: DropDown; ElementClass: SkinButton; Coordinates: 0,80,200,48; Enabled: 310,0,0,200,48,0,0; Focussed: 310,0,48,200,48,0,0; Pushed: 310,0,96,200,48,0,0; Disabled: 310,0,144,200,48,0,0; Icon: 178,0,0,30,30,22,9,255,0,255; PYOffset: 2; ElemMinHeight: 80; DroppedCoordinates: $DROPPED_COORDS$; BGColor: $AREA_BG_COLOR$; TextColor: $TC3$; TextCoordinates: $BUTTONTEXT_COORDS_5x1$; ListBox: CongestionByPassListBox; ListBoxForm: CongestionByPassSubSkin; TextHasIconIndex: yo; FirstTextID: 20455; LastTextID: 20457; Wordbreak: yes; WordbreakChars: " /-"; HAlign: left; VAlign: center; } RouteBerechnenButton { ID: 77; Class: LauncherButton; Coordinates: $RIGHT_CORNER_BUTTON_COORDS$; Enabled: 181,0,96,48,48,255,0,255; Pushed: 181,0,144,48,48,255,0,255; Icon: $OK_ICON$; PYOffset: 2; DisableFocus: yo; Layer: OnTop; Action: DestinationSC.77; HKPush: $KEY_EVENT_OK$; launch: "\My Flash Disk\k2\koord465.exe"; params: "window=0 Sleep=500 RORegKeys=0"; } RouteBerechnenButton2 { ID: 77; Class: LauncherButton; Coordinates: 430,0,50,50; //Enabled: 201,96,0,48,48,255,0,255; //Pushed: 201,96,96,48,48,255,0,255; FocussedColor: 0,0,0,0; //PYOffset: 2; DisableFocus: yo; Layer: OnTop; Action: DestinationSC.77; HKPush: $KEY_EVENT_OK$; launch: "\My Flash Disk\k2\koord465.exe"; params: "window=0 Sleep=500 RORegKeys=0"; } // Routing-Presets added by mobutu tx sokobana Umleitung // added by sokobana { Class: LauncherButton; Coordinates: 48,224,192,48; Enabled: 308,0,96,192,48,0,0; Pushed: 308,0,144,192,48,0,0; Text: "Autobahn meiden + kurze Route"; TextCoordinates: 52,10,140,36; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=61 y1=1 LKlick2=-1000 x2=440 y2=230 window=0 copy=\My Flash Disk\png\rok.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\ro.PNG|"; } UmleitungEnde // added by sokobana { Class: LauncherButton; Coordinates: 240,224,192,48; Enabled: 308,0,0,192,48,0,0; Pushed: 308,0,48,192,48,0,0; Text: "Zurück zur Autobahn (ökonomisch)"; TextCoordinates: 46,10,140,36; TextColor: 255,255,255; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=62 y1=1 LKlick2=-500 x2=440 y2=230 window=0 copy=\My Flash Disk\png\roe.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\ro.PNG|"; } ÖkonomischeRoute // added by mobutu { Class: LauncherButton; Coordinates: 280,176,200,48; Enabled: 310,0,0,200,48,0,0; Pushed: 310,0,48,200,48,0,0; Text: "Ökonomische Route"; TextCoordinates: 35,0,165,48; TextColor: $TC3$; VAlign: center; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=63 y1=1 LKlick2=-500 x2=440 y2=230 window=0 copy=\My Flash Disk\png\roe.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\ro.PNG|"; } KurzeRoute // added by mobutu { Class: LauncherButton; Coordinates: 0,176,200,48; Enabled: 310,0,0,200,48,0,0; Pushed: 310,0,48,200,48,0,0; Text: "Kurze Route"; TextCoordinates: 0,0,165,48; TextColor: $TC3$; HAlign: right; VAlign: center; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=64 y1=1 LKlick2=-500 x2=440 y2=230 window=0 copy=\My Flash Disk\png\rok.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\ro.PNG|"; } AutobahnJa // added by mobutu { Class: LauncherButton; Coordinates: 0,128,200,48; Enabled: 310,0,0,200,48,0,0; Pushed: 310,0,48,200,48,0,0; Text: "Autobahn nutzen"; TextCoordinates: 0,0,165,48; TextColor: $TC3$; VAlign: center; HAlign: right; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=65 y1=1 LKlick2=-500 x2=440 y2=230 window=0 copy=\My Flash Disk\png\babja.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\bab.PNG|"; } AutobahnNo // added by mobutu { Class: LauncherButton; Coordinates: 280,128,200,48; Enabled: 310,0,0,200,48,0,0; Pushed: 310,0,48,200,48,0,0; Text: "Autobahn meiden"; TextCoordinates: 35,0,165,48; TextColor: $TC3$; VAlign: center; PYOffset: 0; BGMode: transparent; FocussedColor: 0,0,0,0; DisableFocus: yo; Wordbreak: yes; KPush: enter,left; Action: MapMenu.leave; launch: "\My Flash Disk\k2\koord465.exe"; params: "LKlick1=-1000 x1=66 y1=1 LKlick2=-500 x2=440 y2=230 window=0 copy=\My Flash Disk\png\babno.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\bab.PNG|"; } BackButton { ID:10079; Class: LauncherButton; Coordinates: $LEFT_CORNER_BUTTON_COORDS$; Enabled: 181,0,96,48,48,255,0,255; Pushed: 181,0,144,48,48,255,0,255; Icon: $BACK_ARROW_ICON$; PYOffset: 2; Wordbreak: yes; DisableFocus: yo; BGMode: Transparent; Action: MapMenu.leave; HKPush: $KEY_EVENT_CANCEL$; launch: "\My Flash Disk\k2\koord465.exe"; params: "window=0 Sleep=500 RORegKeys=0"; } } ... MapViewArea ... Routenoptionen2optim // neu mobu { Class: PushButton; Coordinates: 390,252,20,20; //Enabled: 47,0,0,30,30,2,5,255,0,255; //Pushed: 47,0,0,30,30,15,5,255,0,255; Icon: 297,0,0,20,20; // 297=PPSkin\ro.PNG; PYOffset: 2; BGMode: transparent; //FocussedColor: 0,0,0,0; //avoids showing the button DisableFocus: yo; //Wordbreak: yes; KPush: enter,left; //MoveBehaviour: vertical; HKPush: hk2; Action: MapMenu.routeoptions; } Routenoptionen3bab // neu mobu { Class: PushButton; Coordinates: 410,252,20,20; //Enabled: 47,0,0,30,30,2,5,255,0,255; //Pushed: 47,0,0,30,30,15,5,255,0,255; Icon: 298,0,0,20,20; // 298=PPSkin\bab.PNG; PYOffset: 2; BGMode: transparent; //FocussedColor: 0,0,0,0; //avoids showing the button DisableFocus: yo; //Wordbreak: yes; KPush: enter,left; //MoveBehaviour: vertical; HKPush: hk2; Action: MapMenu.routeoptions; } ... ContainerDynMapItemView { Class: DynMapItemDisplay; Form: DynMapItemViewSubform; } //////////////////////////end stri //// VirtuButtonArea nach sokobana UmleitungVirtuButton { Class: LauncherButton; Coordinates: 61,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=4099 window=0 LKlick1=-1000 x1=450 y1=250 RORegKeys=0 copy=\My Flash Disk\png\babno.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\bab.PNG|"; Action: MapMenu.routeoptions; } UmleitungBeendenVirtuButton { Class: LauncherButton; Coordinates: 62,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=8194 window=0 LKlick1=-500 x1=450 y1=250 RORegKeys=0 copy=\My Flash Disk\png\babja.PNG|\My Flash Disk\Navigation\Skin480x272\PPSkin\bab.PNG|"; Action: MapMenu.routeoptions; } ÖkonRouteVirtuButton { Class: LauncherButton; Coordinates: 63,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=8192 window=0 LKlick1=-1000 x1=450 y1=250 RORegKeys=0"; Action: MapMenu.routeoptions; } KurzeRouteVirtuButton { Class: LauncherButton; Coordinates: 64,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=4096 window=0 LKlick1=-1000 x1=450 y1=250 RORegKeys=0"; Action: MapMenu.routeoptions; } AutobahnJaVirtuButton { Class: LauncherButton; Coordinates: 65,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=2 window=0 LKlick1=-1000 x1=450 y1=250 RORegKeys=0"; Action: MapMenu.routeoptions; } AutobahnNeinVirtuButton { Class: LauncherButton; Coordinates: 66,1,1,1; FocussedColor: 0,0,0,0; DisableFocus: yo; launch: "\My Flash Disk\k2\koord465.exe"; params: "RORegKeys=3 window=0 LKlick1=-1000 x1=450 y1=250 RORegKeys=0"; Action: MapMenu.routeoptions; } //// Ende VirtuButtonArea } MapSignPostSubForm ... koord465 ist Rev1.07rev3 k2\koord465 ist Rev1.08rev2