Skip to content

Commit

Permalink
icons
Browse files Browse the repository at this point in the history
  • Loading branch information
teeteeteeteetee committed Nov 22, 2023
1 parent fbed177 commit 691601a
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 19 deletions.
15 changes: 15 additions & 0 deletions src/client-src/components/Icons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ import DRWV from "../../assets/DRWV.png";
import DRWV1 from "../../assets/DRWV1.png";
import FLPR from "../../assets/FLPR.png";
import FLPR1 from "../../assets/FLPR1.png";
import IDSN from "../../assets/IDSN.png"
import IDSN1 from "../../assets/IDSN1.png"
import ILST from "../../assets/ILST.png"
import ILST1 from "../../assets/ILST1.png"
import MEDIA_ENCODER from "../../assets/MEDIA_ENCODER.png";
import MEDIA_ENCODER1 from "../../assets/MEDIA_ENCODER1.png";
import PHXS from "../../assets/PHXS.png";
import PHXS1 from "../../assets/PHXS1.png";
import PPRO from "../../assets/PPRO.png";
import PPRO1 from "../../assets/PPRO1.png";
import PRLD from "../../assets/PRLD.png";
import RUSH from "../../assets/RUSH.png"
import RUSH1 from "../../assets/RUSH1.png"

export {
AEFT,
Expand All @@ -27,13 +33,19 @@ export {
DRWV1,
FLPR,
FLPR1,
IDSN,
IDSN1,
ILST,
ILST1,
MEDIA_ENCODER,
MEDIA_ENCODER1,
PHXS,
PHXS1,
PPRO,
PPRO1,
PRLD,
RUSH,
RUSH1
};

export function setCustom({url}){
Expand All @@ -45,5 +57,8 @@ export function getIcon({ className, version }) {

let source;




return <img className={className} src={source}></img>;
}
12 changes: 6 additions & 6 deletions src/host/AUDT.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function state(){
var x;
try{
var x;
switch(app.activeDocument.reflect.name){
case "MultitrackDocument":
x = "Multitrack Session";
Expand All @@ -12,15 +12,15 @@ function state(){
x = "CD Layout";
break;
default:
x = "No file.";
x = app.activeDocument.reflect.name;
}

return x;

}catch(e){
return "";
x = "No file.";
}


return x;

}

function details(){
Expand Down
52 changes: 39 additions & 13 deletions src/rpc_client-src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,58 +14,84 @@
/**
* @author Tee
*/
import { AEFT, AEFT1,
AICY, AICY1,
AUDT, AUDT1,
DRWV, DRWV1,
FLPR, FLPR1,
IDSN, IDSN1,
ILST, ILST1,
PHXS, PHXS1,
PPRO, PPRO1,
PRLD, MEDIA_ENCODER,
MEDIA_ENCODER1,
} from "../client-src/components/Icons"

module.exports = {
AEFT: {
name: 'After Effects',
id: '748568089939148832'
id: '748568089939148832',
icons: [AEFT, AEFT1]
},
AICY: {
name: 'InCopy',
id: '756139390924750859'
id: '756139390924750859',
icons: [AICY, AICY1]

},
AUDT: {
name: 'Audition',
id: '750462631176830977'
id: '750462631176830977',
icons: [AUDT, AUDT1]
},
DRWV: {
name: 'Dreamweaver',
id: '756169802766221502'
id: '756169802766221502',
icons: [DRWV, DRWV1]
},
FLPR: {
name: 'Animate',
id: '756143118604173384'
id: '756143118604173384',
icons: [FLPR, FLPR1]
},
IDSN: {
name: 'InDesign',
id: '753663267137912953'
id: '753663267137912953',
icons: [IDSN, IDSN1]
},
ILST: {
name: 'Illustrator',
id: '751430009716998144'
id: '751430009716998144',
icons: [ILST, ILST1]
},
PHSP: {
name: 'Photoshop',
id: '748586506888806460'
id: '748586506888806460',
icons: [PHXS, PHXS1]
},
PHXS: {
name: 'Photoshop',
id: '748586506888806460'
id: '748586506888806460',
icons: [PHXS, PHXS1]
},
PPRO: {
name: 'Premiere Pro',
id: '748580494324662353'
id: '748580494324662353',
icons: [PPRO, PPRO1]
},
PRLD: {
name: 'Prelude',
id: '756139699051036797'
id: '756139699051036797',
icons: [PRLD]
},
RUSH: {
name: 'Premiere Rush',
id: '756158973241196595'
id: '756158973241196595',
icons: [RUSH, RUSH1]
},
MEDIA_ENCODER: {
name: 'Media Encoder',
id: '756149565429776453'
id: '756149565429776453',
icons: [MEDIA_ENCODER, MEDIA_ENCODER1]
}
}

0 comments on commit 691601a

Please sign in to comment.