GUI - added CORD logo to glyph library.
Change-Id: I6a3321d62df33f84c400dec8e77e572c230e3d04
Showing
1 changed file
with
32 additions
and
7 deletions
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | 22 | ||
23 | // --- ONOS logo glyph ------------------------------------ | 23 | // --- ONOS logo glyph ------------------------------------ |
24 | 24 | ||
25 | - var birdData = { | 25 | + var logos = { |
26 | _bird: "352 224 113 112", | 26 | _bird: "352 224 113 112", |
27 | bird: "M427.7,300.4 c-6.9,0.6-13.1,5-19.2,7.1c-18.1,6.2-33.9," + | 27 | bird: "M427.7,300.4 c-6.9,0.6-13.1,5-19.2,7.1c-18.1,6.2-33.9," + |
28 | "9.1-56.5,4.7c24.6,17.2,36.6,13,63.7,0.1c-0.5,0.6-0.7,1.3-1.3," + | 28 | "9.1-56.5,4.7c24.6,17.2,36.6,13,63.7,0.1c-0.5,0.6-0.7,1.3-1.3," + |
... | @@ -35,7 +35,32 @@ | ... | @@ -35,7 +35,32 @@ |
35 | "-1.3-3.3-3.8-6.2-4.9c-7.1-2.6-11.9,11.7-11.7-5c0.1-8,4.2-14.4," + | 35 | "-1.3-3.3-3.8-6.2-4.9c-7.1-2.6-11.9,11.7-11.7-5c0.1-8,4.2-14.4," + |
36 | "6.4-22c1.1-3.8,2.3-7.6,2.4-11.5c0.1-2.3,0-4.7-0.4-7c-2-11.2-8.4" + | 36 | "6.4-22c1.1-3.8,2.3-7.6,2.4-11.5c0.1-2.3,0-4.7-0.4-7c-2-11.2-8.4" + |
37 | "-21.5-19.7-24.8c-1-0.3-1.1-0.3-0.9,0c9.6,17.1,7.2,38.3,3.1,54.2" + | 37 | "-21.5-19.7-24.8c-1-0.3-1.1-0.3-0.9,0c9.6,17.1,7.2,38.3,3.1,54.2" + |
38 | - "C429.9,285.5,426.7,293.2,427.7,300.4z" | 38 | + "C429.9,285.5,426.7,293.2,427.7,300.4z", |
39 | + | ||
40 | + _cord: "0 0 110 110", | ||
41 | + cord: "M92.5,62.3l-33,33,2.5,2.5c4.1,4.1,7.4,3.6,11.2-.1L95.9,75" + | ||
42 | + "l-4.5-4.5,4.7-4.7-3.6-3.6Z" + | ||
43 | + "m2.6,7L98.4,66l3.3,3.3-3.3,3.3-3.3-3.3Z" + | ||
44 | + "M94.5,60l4.9-4.9,4.9,4.9-4.9,4.9Z" + | ||
45 | + "M36.2,36.1L18.6,53.8c-7.8,7.8-5.8,17.4-2.4,22l-2.2-2.2" + | ||
46 | + "c-10.6-10.6-11.2-20,0-31.2L28.2,28.1L31.3,25l8,8-3.1,3.1Z" + | ||
47 | + "M55.5,55.4l3.6-3.6L66.9,44l-8-8l-2.5,2.5-5.2,5.2l-3.6,3.6" + | ||
48 | + "L33.2,61.6C22,72.7,22.5,82.2,33.2,92.8L35.4,95" + | ||
49 | + "c-3.4-4.5-5.4-14.1,2.4-22L55.5,55.4Z" + | ||
50 | + "M50.7,21.7l-8-8L35,21.2l8,8,7.6-7.6Z" + | ||
51 | + "M62.8,9.6L55.4,17l-8-8,7.4-7.4,8,8Z" + | ||
52 | + "m0.7,18.3-7.6,7.6-8-8,7.6-7.6,8,8Z" + | ||
53 | + "m26.1-6.6-8.1,8.1-8-8,8.1-8.1,8,8Z" + | ||
54 | + "M79.3,31.5l-7.4,7.4-8-8,7.4-7.4,8,8Z" + | ||
55 | + "M45.7,45.6L54.3,37l-8-8-8.6,8.6L23.4,51.8" + | ||
56 | + "C12.2,63,12.8,72.4,23.4,83l2.2,2.2c-3.4-4.5-5.4-14.1,2.4-22Z" + | ||
57 | + "M34.9,80.7l20.6,20.5c2,2,4.6,4.1,7.9,3.2-2.9,2.9-8.9,1.7-11.9-1.3" + | ||
58 | + "L35.1,86.8,35,86.6H34.9l-0.8-.8" + | ||
59 | + "a15,15,0,0,1,.1-1.9,14.7,14.7,0,0,1,.7-3.2Z" + | ||
60 | + "m-0.6,7.4a21.3,21.3,0,0,0,5.9,11.7l5.7,5.7" + | ||
61 | + "c3,3,9,4.1,11.9,1.3-3.3.9-5.9-1.2-7.9-3.2L34.3,88.1Z" + | ||
62 | + "m3.5-12.4a16.6,16.6,0,0,0-2.3,3.6L57,100.8" + | ||
63 | + "c3,3,9,4.1,11.9,1.3-3.3.9-5.9-1.2-7.9-3.2Z" | ||
39 | }, | 64 | }, |
40 | 65 | ||
41 | 66 | ||
... | @@ -83,10 +108,10 @@ | ... | @@ -83,10 +108,10 @@ |
83 | "a0.8,0.8,0,0,0-.8.8V34A0.8,0.8,0,0,0,82.6,34.8Z" + | 108 | "a0.8,0.8,0,0,0-.8.8V34A0.8,0.8,0,0,0,82.6,34.8Z" + |
84 | "m-16.3.1h3.9a0.8,0.8,0,0,0,.8-0.8V33.8a0.8,0.8,0,0,0-.8-0.8" + | 109 | "m-16.3.1h3.9a0.8,0.8,0,0,0,.8-0.8V33.8a0.8,0.8,0,0,0-.8-0.8" + |
85 | "H66.2a0.8,0.8,0,0,0-.8.8v0.3A0.8,0.8,0,0,0,66.2,34.9Z" + | 110 | "H66.2a0.8,0.8,0,0,0-.8.8v0.3A0.8,0.8,0,0,0,66.2,34.9Z" + |
86 | - "m6.8-5.2-3.8-3.8a0.9,0.9,0,0,0-1.3,0h0a0.9,0.9,0,0,0,0,1.3" + | 111 | + "m6.8-5.2-3.8-3.8a0.9,0.9,0,0,0-1.3,0a0.9,0.9,0,0,0,0,1.3" + |
87 | - "L71.8,31A0.9,0.9,0,0,0,73,31h0A0.9,0.9,0,0,0,73.1,29.7Z" + | 112 | + "L71.8,31A0.9,0.9,0,0,0,73,31A0.9,0.9,0,0,0,73.1,29.7Z" + |
88 | - "M84.8,40.9L80.9,37a0.9,0.9,0,0,0-1.3,0h0a0.9,0.9,0,0,0,0,1.3" + | 113 | + "M84.8,40.9L80.9,37a0.9,0.9,0,0,0-1.3,0a0.9,0.9,0,0,0,0,1.3" + |
89 | - "l3.9,3.9a0.9,0.9,0,0,0,1.3,0h0A0.9,0.9,0,0,0,84.8,40.9Z" + | 114 | + "l3.9,3.9a0.9,0.9,0,0,0,1.3,0A0.9,0.9,0,0,0,84.8,40.9Z" + |
90 | "m-7.6,3.2V40.2a0.8,0.8,0,0,0-.8-0.8H76.2a0.8,0.8,0,0,0-.8.8" + | 115 | "m-7.6,3.2V40.2a0.8,0.8,0,0,0-.8-0.8H76.2a0.8,0.8,0,0,0-.8.8" + |
91 | "v3.9a0.8,0.8,0,0,0,.8.8h0.3A0.8,0.8,0,0,0,77.3,44.1Z", | 116 | "v3.9a0.8,0.8,0,0,0,.8.8h0.3A0.8,0.8,0,0,0,77.3,44.1Z", |
92 | 117 | ||
... | @@ -540,7 +565,7 @@ | ... | @@ -540,7 +565,7 @@ |
540 | // === API functions === | 565 | // === API functions === |
541 | 566 | ||
542 | function registerCoreGlyphs(gsApi) { | 567 | function registerCoreGlyphs(gsApi) { |
543 | - gsApi.registerGlyphs(birdData); | 568 | + gsApi.registerGlyphs(logos); |
544 | gsApi.registerGlyphSet(glyphDataSet); | 569 | gsApi.registerGlyphSet(glyphDataSet); |
545 | gsApi.registerGlyphSet(badgeDataSet); | 570 | gsApi.registerGlyphSet(badgeDataSet); |
546 | gsApi.registerGlyphs(spriteData); | 571 | gsApi.registerGlyphs(spriteData); | ... | ... |
-
Please register or login to post a comment