]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/icons/fontpicker.xpm
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / samples / widgets / icons / fontpicker.xpm
index 87734963c0982c09d67fec6feebee8621fc51f60..0ad7335f38b83bc6ec3b847f5ebe92d43cc29733 100644 (file)
-/* XPM */
-static char *fontpicker_xpm[]={
-"32 32 150 2",
-"   c None",
-"BB c Black",
-"-- c White",
-".P c #00a900",
-".q c #00aa01",
-".y c #00ab01",
-".r c #00ac01",
-".G c #00ad01",
-".j c #018700",
-".C c #018901",
-".L c #018d00",
-".Q c #01a901",
-".D c #029902",
-".O c #029b02",
-".F c #03ab03",
-".Y c #059a05",
-".u c #067706",
-".Z c #069905",
-".E c #06ab06",
-".W c #0d7e09",
-"#s c #0d8109",
-".T c #0f750e",
-".3 c #117611",
-"#b c #167616",
-".z c #16b116",
-".0 c #179716",
-".b c #198219",
-".9 c #1a7a16",
-".A c #1a7a19",
-".V c #1a8719",
-"#j c #1f821a",
-"#l c #217d1f",
-".f c #218b20",
-".x c #22b422",
-"#t c #267c23",
-".c c #278427",
-".s c #288428",
-".7 c #2a8e29",
-"#B c #2b712a",
-".m c #319231",
-"#. c #31a130",
-".M c #32bc32",
-".X c #349632",
-".H c #37bb37",
-"#h c #389635",
-".p c #3ebd3e",
-".8 c #3f923c",
-".I c #40ab40",
-".i c #52c152",
-".R c #52c353",
-".v c #5cc15c",
-"#A c #5e795f",
-".a c #5fa25f",
-".6 c #639064",
-"#u c #659a65",
-".B c #68a868",
-"an c #69696a",
-".w c #6bcb6c",
-"af c #6e6e6f",
-"#9 c #6e6e70",
-"#5 c #6f6f70",
-".K c #70ab70",
-"#0 c #717172",
-"#W c #727273",
-"aq c #737373",
-"#S c #737374",
-"#G c #747475",
-"## c #75bc74",
-".J c #77a876",
-"ao c #797979",
-".S c #7ece7e",
-".1 c #7fd27f",
-".k c #80b080",
-"ag c #818181",
-"ak c #838384",
-"aa c #878788",
-".d c #8ab88a",
-"#r c #8dbc8d",
-"#2 c #8e8e90",
-"#O c #8f8f90",
-"#J c #909091",
-"#D c #909092",
-"#e c #919192",
-".t c #92bd92",
-"al c #939395",
-".N c #93d893",
-"#C c #95b795",
-"#6 c #989899",
-"#m c #9abc9a",
-"#a c #9ecb9e",
-".e c #a5c8a5",
-".2 c #a5daa5",
-".o c #a9e0a9",
-"#k c #aad4a9",
-".g c #abddab",
-"#i c #accaab",
-"#H c #afafaf",
-"#M c #b0b0b0",
-"am c #b0b0b2",
-"a. c #b1b1b1",
-".n c #b4e3b4",
-".l c #b7d1b7",
-"aj c #bababc",
-"#g c #bbc9bc",
-"#d c #bcbcbc",
-"#v c #bdbdbd",
-".5 c #bebebe",
-"#I c #bfbfbf",
-".4 c #bfd2bf",
-"#N c #c0c0c0",
-"ai c #c0c0c3",
-"#T c #c1c1c1",
-"ah c #c5c5c8",
-"ar c #c8c8c8",
-"ac c #c8c8cb",
-"#c c #c8d8c8",
-"a# c #cbcbcb",
-".# c #cbdccb",
-"#1 c #cccccc",
-"ae c #cececf",
-"#8 c #cfcfd1",
-"#4 c #d0d0d2",
-"#f c #d0d0d3",
-"#Z c #d1d1d2",
-"#n c #d1d1d3",
-"#V c #d2d2d3",
-"#w c #d2d2d4",
-"#K c #d3d3d4",
-"#p c #d3d3d5",
-"#P c #d3d3d6",
-"#F c #d4d4d5",
-"#z c #d4d4d6",
-"#X c #d4d4d7",
-"#3 c #d5d5d8",
-"#U c #d8d8da",
-"#Q c #d9d9db",
-"#E c #d9d9dc",
-"ap c #dadada",
-"ad c #dadadb",
-"#x c #dadadc",
-"#q c #dadeda",
-"#o c #dbdbdd",
-"ab c #dddddf",
-".h c #ddf3dd",
-"#y c #e2e2e3",
-"#L c #e3e3e3",
-"#R c #e3e3e4",
-".U c #e3e8e3",
-"#Y c #e4e4e4",
-"#7 c #e5e5e5",
-"                                                    .#.a.b.c.d  ",
-"                                                  .e.f.g.h.i.j.k",
-"                                                .l.m.n.o.p.q.r.s",
-"                                              .t.u.v.w.x.y.r.z.A",
-"                                            .B.C.D.E.F.G.y.H.I.J",
-"                                          .K.L.M.N.O.P.Q.R.S.T.U",
-"                                          .V.W.X.Y.Z.0.1.2.3.4  ",
-"                                        .5.6.7.8.9#.###a#b#c    ",
-"                                      #d#e#f#g#h#i#j#k#l#m      ",
-"                                    #d#e#n#o#p#q#r#s#t#u        ",
-"                                  #v#e#w#x#p#y#z#A#B#C          ",
-"                                .5#D#w#E#p#y#F#G#H              ",
-"                              #I#J#p#E#K#L#K#G#M                ",
-"----------------------------#N#O#P#Q#K#R#K#S#M----------        ",
-"----------BBBBBBBB----BBBB#T#e#P#U#K#R#V#W#MBBBBBBBBBB--        ",
-"--------BB--------BB----#T#e#X#U#K#Y#Z#0#M----BB--------        ",
-"------BBBBBB----BB----#1#2#3#U#V#Y#4#5#M----BB----------        ",
-"----BB--------BB------#6#X#n#K#7#8#9a.----BB------------        ",
-"--BB----------BBBBBBa#aaabacadaeaf#H----BB--------------        ",
-"--------------------agahacaiajaf#H----------------------        ",
-"--BBBBBBBBBB----BBBBakalamanaoap----BBBB--BBBBBBBBBBBB--        ",
-"--BBBBBBBBBB--BBBBBB#v#5aqarBBBBBB--BBBB--BBBBBBBBBBBB--        ",
-"--BBBBBBBB----BBBB----BBBB--BBBBBBBBBBBB------BBBB------        ",
-"--BBBBBBBB----BBBBBBBBBBBB--BBBB--BBBBBB------BBBB------        ",
-"--BBBB----------BBBBBBBB----BBBB----BBBB------BBBB------        ",
-"--------------------------------------------------------        ",
-"--BBBBBBBB----BBBBBB----BB------BB--BBBBBBBBBB----------        ",
-"--BB--------BB------BB--BBBB----BB------BB--------------        ",
-"--BBBBBB----BB------BB--BB--BB--BB------BB--------------        ",
-"--BB--------BB------BB--BB----BBBB------BB--------------        ",
-"--BB----------BBBBBB----BB------BB------BB--------------        ",
-"--------------------------------------------------------        "};
+/* XPM */\r
+static const char *const fontpicker_xpm[]={\r
+"32 32 150 2",\r
+"   c None",\r
+"BB c Black",\r
+"-- c White",\r
+".P c #00a900",\r
+".q c #00aa01",\r
+".y c #00ab01",\r
+".r c #00ac01",\r
+".G c #00ad01",\r
+".j c #018700",\r
+".C c #018901",\r
+".L c #018d00",\r
+".Q c #01a901",\r
+".D c #029902",\r
+".O c #029b02",\r
+".F c #03ab03",\r
+".Y c #059a05",\r
+".u c #067706",\r
+".Z c #069905",\r
+".E c #06ab06",\r
+".W c #0d7e09",\r
+"#s c #0d8109",\r
+".T c #0f750e",\r
+".3 c #117611",\r
+"#b c #167616",\r
+".z c #16b116",\r
+".0 c #179716",\r
+".b c #198219",\r
+".9 c #1a7a16",\r
+".A c #1a7a19",\r
+".V c #1a8719",\r
+"#j c #1f821a",\r
+"#l c #217d1f",\r
+".f c #218b20",\r
+".x c #22b422",\r
+"#t c #267c23",\r
+".c c #278427",\r
+".s c #288428",\r
+".7 c #2a8e29",\r
+"#B c #2b712a",\r
+".m c #319231",\r
+"#. c #31a130",\r
+".M c #32bc32",\r
+".X c #349632",\r
+".H c #37bb37",\r
+"#h c #389635",\r
+".p c #3ebd3e",\r
+".8 c #3f923c",\r
+".I c #40ab40",\r
+".i c #52c152",\r
+".R c #52c353",\r
+".v c #5cc15c",\r
+"#A c #5e795f",\r
+".a c #5fa25f",\r
+".6 c #639064",\r
+"#u c #659a65",\r
+".B c #68a868",\r
+"an c #69696a",\r
+".w c #6bcb6c",\r
+"af c #6e6e6f",\r
+"#9 c #6e6e70",\r
+"#5 c #6f6f70",\r
+".K c #70ab70",\r
+"#0 c #717172",\r
+"#W c #727273",\r
+"aq c #737373",\r
+"#S c #737374",\r
+"#G c #747475",\r
+"## c #75bc74",\r
+".J c #77a876",\r
+"ao c #797979",\r
+".S c #7ece7e",\r
+".1 c #7fd27f",\r
+".k c #80b080",\r
+"ag c #818181",\r
+"ak c #838384",\r
+"aa c #878788",\r
+".d c #8ab88a",\r
+"#r c #8dbc8d",\r
+"#2 c #8e8e90",\r
+"#O c #8f8f90",\r
+"#J c #909091",\r
+"#D c #909092",\r
+"#e c #919192",\r
+".t c #92bd92",\r
+"al c #939395",\r
+".N c #93d893",\r
+"#C c #95b795",\r
+"#6 c #989899",\r
+"#m c #9abc9a",\r
+"#a c #9ecb9e",\r
+".e c #a5c8a5",\r
+".2 c #a5daa5",\r
+".o c #a9e0a9",\r
+"#k c #aad4a9",\r
+".g c #abddab",\r
+"#i c #accaab",\r
+"#H c #afafaf",\r
+"#M c #b0b0b0",\r
+"am c #b0b0b2",\r
+"a. c #b1b1b1",\r
+".n c #b4e3b4",\r
+".l c #b7d1b7",\r
+"aj c #bababc",\r
+"#g c #bbc9bc",\r
+"#d c #bcbcbc",\r
+"#v c #bdbdbd",\r
+".5 c #bebebe",\r
+"#I c #bfbfbf",\r
+".4 c #bfd2bf",\r
+"#N c #c0c0c0",\r
+"ai c #c0c0c3",\r
+"#T c #c1c1c1",\r
+"ah c #c5c5c8",\r
+"ar c #c8c8c8",\r
+"ac c #c8c8cb",\r
+"#c c #c8d8c8",\r
+"a# c #cbcbcb",\r
+".# c #cbdccb",\r
+"#1 c #cccccc",\r
+"ae c #cececf",\r
+"#8 c #cfcfd1",\r
+"#4 c #d0d0d2",\r
+"#f c #d0d0d3",\r
+"#Z c #d1d1d2",\r
+"#n c #d1d1d3",\r
+"#V c #d2d2d3",\r
+"#w c #d2d2d4",\r
+"#K c #d3d3d4",\r
+"#p c #d3d3d5",\r
+"#P c #d3d3d6",\r
+"#F c #d4d4d5",\r
+"#z c #d4d4d6",\r
+"#X c #d4d4d7",\r
+"#3 c #d5d5d8",\r
+"#U c #d8d8da",\r
+"#Q c #d9d9db",\r
+"#E c #d9d9dc",\r
+"ap c #dadada",\r
+"ad c #dadadb",\r
+"#x c #dadadc",\r
+"#q c #dadeda",\r
+"#o c #dbdbdd",\r
+"ab c #dddddf",\r
+".h c #ddf3dd",\r
+"#y c #e2e2e3",\r
+"#L c #e3e3e3",\r
+"#R c #e3e3e4",\r
+".U c #e3e8e3",\r
+"#Y c #e4e4e4",\r
+"#7 c #e5e5e5",\r
+"                                                    .#.a.b.c.d  ",\r
+"                                                  .e.f.g.h.i.j.k",\r
+"                                                .l.m.n.o.p.q.r.s",\r
+"                                              .t.u.v.w.x.y.r.z.A",\r
+"                                            .B.C.D.E.F.G.y.H.I.J",\r
+"                                          .K.L.M.N.O.P.Q.R.S.T.U",\r
+"                                          .V.W.X.Y.Z.0.1.2.3.4  ",\r
+"                                        .5.6.7.8.9#.###a#b#c    ",\r
+"                                      #d#e#f#g#h#i#j#k#l#m      ",\r
+"                                    #d#e#n#o#p#q#r#s#t#u        ",\r
+"                                  #v#e#w#x#p#y#z#A#B#C          ",\r
+"                                .5#D#w#E#p#y#F#G#H              ",\r
+"                              #I#J#p#E#K#L#K#G#M                ",\r
+"----------------------------#N#O#P#Q#K#R#K#S#M----------        ",\r
+"----------BBBBBBBB----BBBB#T#e#P#U#K#R#V#W#MBBBBBBBBBB--        ",\r
+"--------BB--------BB----#T#e#X#U#K#Y#Z#0#M----BB--------        ",\r
+"------BBBBBB----BB----#1#2#3#U#V#Y#4#5#M----BB----------        ",\r
+"----BB--------BB------#6#X#n#K#7#8#9a.----BB------------        ",\r
+"--BB----------BBBBBBa#aaabacadaeaf#H----BB--------------        ",\r
+"--------------------agahacaiajaf#H----------------------        ",\r
+"--BBBBBBBBBB----BBBBakalamanaoap----BBBB--BBBBBBBBBBBB--        ",\r
+"--BBBBBBBBBB--BBBBBB#v#5aqarBBBBBB--BBBB--BBBBBBBBBBBB--        ",\r
+"--BBBBBBBB----BBBB----BBBB--BBBBBBBBBBBB------BBBB------        ",\r
+"--BBBBBBBB----BBBBBBBBBBBB--BBBB--BBBBBB------BBBB------        ",\r
+"--BBBB----------BBBBBBBB----BBBB----BBBB------BBBB------        ",\r
+"--------------------------------------------------------        ",\r
+"--BBBBBBBB----BBBBBB----BB------BB--BBBBBBBBBB----------        ",\r
+"--BB--------BB------BB--BBBB----BB------BB--------------        ",\r
+"--BBBBBB----BB------BB--BB--BB--BB------BB--------------        ",\r
+"--BB--------BB------BB--BB----BBBB------BB--------------        ",\r
+"--BB----------BBBBBB----BB------BB------BB--------------        ",\r
+"--------------------------------------------------------        "};\r