| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| /* XPM */ | ||
| static char *folder_open_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 31 1", | ||
| "6 c #9BACC2", | ||
| "w c #547B99", | ||
| "5 c #94A5BD", | ||
| ". c #376485", | ||
| "; c #F1F4F7", | ||
| "o c #7F99B4", | ||
| "2 c #D1D9E5", | ||
| "- c #EAEDF3", | ||
| "O c #718BA7", | ||
| "0 c #65839D", | ||
| "* c #DCE2EA", | ||
| ": c #F5F6F7", | ||
| "7 c #597B9A", | ||
| "X c #8DA0B9", | ||
| " c None", | ||
| "+ c #467291", | ||
| "q c #305F81", | ||
| "& c #D6DFE7", | ||
| "3 c #6A89A2", | ||
| "1 c #A8B6CA", | ||
| "= c #E4E9ED", | ||
| "> c #F8F9FA", | ||
| ", c #FDFDFE", | ||
| "9 c #215579", | ||
| "8 c #7F97B0", | ||
| "@ c #B3BFD1", | ||
| "< c #7A90AC", | ||
| "$ c #C2CBDB", | ||
| "4 c #A2B3C5", | ||
| "% c #CAD6E1", | ||
| "# c #BBC4D6", | ||
| /* pixels */ | ||
| " ", | ||
| "..... ", | ||
| ".XXXo. ", | ||
| ".XXXXO........ ", | ||
| ".XXXXXXXXXXXX. ", | ||
| ".XXXXXXXXXXXX. ", | ||
| ".X++++++++++++++", | ||
| ".X+@#$%&*=-;:>,+", | ||
| ".<.1@#$%2*=-;:23", | ||
| "..X41@#$%2*=-;3 ", | ||
| "..X561@#$%2*=-3 ", | ||
| ".78X561@#$%2*%3 ", | ||
| "90<8X561@#$%23 ", | ||
| "q++++++++++++w ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* XPM */ | ||
| static char * forward_xpm[] = { | ||
| "16 15 3 1", | ||
| " c None", | ||
| ". c Black", | ||
| "X c Gray100", | ||
| " ", | ||
| " ", | ||
| " . ", | ||
| " .. ", | ||
| " .X. ", | ||
| " ........XX. ", | ||
| " .XXXXXXXXXX. ", | ||
| " .XXXXXXXXXXX. ", | ||
| " .XXXXXXXXXXX. ", | ||
| " .XXXXXXXXXX. ", | ||
| " ........XX. ", | ||
| " .X. ", | ||
| " .. ", | ||
| " . ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| /* XPM */ | ||
| static char *error_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 4 1", | ||
| " c None", | ||
| "X c #242424", | ||
| "o c #DCDF00", | ||
| ". c #C00000", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ..... ", | ||
| " ............. ", | ||
| " ................. ", | ||
| " ................... ", | ||
| " ....................... ", | ||
| " ......................... ", | ||
| " ........................... ", | ||
| " ...........................X ", | ||
| " .............................X ", | ||
| " ............................... ", | ||
| " ...............................X ", | ||
| " .................................X ", | ||
| " .................................X ", | ||
| " .................................XX ", | ||
| " ...ooooooooooooooooooooooooooo...XX ", | ||
| " ....ooooooooooooooooooooooooooo....X ", | ||
| " ....ooooooooooooooooooooooooooo....X ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ...ooooooooooooooooooooooooooo...XXX ", | ||
| " ...ooooooooooooooooooooooooooo...XXX ", | ||
| " .................................XX ", | ||
| " .................................XX ", | ||
| " ...............................XXX ", | ||
| " ...............................XXX ", | ||
| " .............................XXX ", | ||
| " ...........................XXXX ", | ||
| " ...........................XXX ", | ||
| " .........................XXX ", | ||
| " .......................XXXX ", | ||
| " X...................XXXXX ", | ||
| " X.................XXXXX ", | ||
| " X.............XXXXX ", | ||
| " XXXX.....XXXXXXXX ", | ||
| " XXXXXXXXXXXXX ", | ||
| " XXXXX ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* XPM */ | ||
| static char *info_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 9 1", | ||
| "$ c Black", | ||
| "O c #FFFFFF", | ||
| "@ c #808080", | ||
| "+ c #000080", | ||
| "o c #E8EB01", | ||
| " c None", | ||
| "X c #FFFF40", | ||
| "# c #C0C0C0", | ||
| ". c #ABAD01", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ..... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXXXXXXXo.. ", | ||
| " .XXXOXXXXXXXoo. ", | ||
| " .XOOXXX+XXXXXo. ", | ||
| " .XOOOXX+++XXXXoo. ", | ||
| " .XOOXXX+++XXXXXo. ", | ||
| " .XOOOXXX+++XXXXXXo. ", | ||
| " .XOOXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXXX. ", | ||
| " .XXXXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXoo. ", | ||
| " .XXXXXX+++XXXXXo. ", | ||
| " .XXXXXXX+XXXXXXo. ", | ||
| " .XXXXXXXXXXXXo. ", | ||
| " .XXXXX+++XXXoo. ", | ||
| " .XXXX+++XXoo. ", | ||
| " .XXXXXXXXo. ", | ||
| " ..XXXXXXo.. ", | ||
| " .XXXXXo.. ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@ ", | ||
| " ### ", | ||
| " $$$ ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| /* XPM */ | ||
| static char *question_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 21 1", | ||
| ". c Black", | ||
| "> c #696969", | ||
| "O c #1F1F00", | ||
| "+ c #181818", | ||
| "o c #F6F900", | ||
| "; c #3F3F00", | ||
| "$ c #111111", | ||
| " c None", | ||
| "& c #202020", | ||
| "X c #AAAA00", | ||
| "@ c #949400", | ||
| ": c #303030", | ||
| "1 c #383838", | ||
| "% c #2A2A00", | ||
| ", c #404040", | ||
| "= c #B4B400", | ||
| "- c #484848", | ||
| "# c #151500", | ||
| "< c #9F9F00", | ||
| "2 c #6A6A00", | ||
| "* c #353500", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ......... ", | ||
| " ...XXXXXXX.. ", | ||
| " ..XXXXoooooXXXO+ ", | ||
| " ..XXooooooooooooX@.. ", | ||
| " ..XoooooooooooooooXX#. ", | ||
| " $%XoooooooooooooooooXX#. ", | ||
| " &.XoooooooXXXXXXooooooXX.. ", | ||
| " .XooooooXX.$...$XXoooooX*. ", | ||
| " $.XoooooX%.$ .*oooooo=.. ", | ||
| " .XooooooX.. -.XoooooX.. ", | ||
| " .XoooooX..+ .XoooooX;. ", | ||
| " ...XXXX..: .XoooooX;. ", | ||
| " ........ >.XoooooX;. ", | ||
| " +.XoooooX.. ", | ||
| " ,.Xoooooo<.. ", | ||
| " 1#XooooooXO.. ", | ||
| " &#XooooooX2.. ", | ||
| " $%XooooooXX.. ", | ||
| " $%XooooooXX.. ", | ||
| " $%XooooooXX.. ", | ||
| " &.XooooooXX.. ", | ||
| " .XooooooXX.. ", | ||
| " &.XoooooXX.. ", | ||
| " ..XooooXX.. ", | ||
| " ..XooooX... ", | ||
| " ..XXooXX..& ", | ||
| " ...XXXXX.. ", | ||
| " ........ ", | ||
| " ", | ||
| " ", | ||
| " ....... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXoooXX.. ", | ||
| " ..XoooooX.. ", | ||
| " ..XoooooX.. ", | ||
| " ..XXoooXX.. ", | ||
| " ..XXXXX.. ", | ||
| " ....... ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* XPM */ | ||
| static char *warning_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 9 1", | ||
| "@ c Black", | ||
| "o c #A6A800", | ||
| "+ c #8A8C00", | ||
| "$ c #B8BA00", | ||
| " c None", | ||
| "O c #6E7000", | ||
| "X c #DCDF00", | ||
| ". c #C00000", | ||
| "# c #373800", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " . ", | ||
| " ... ", | ||
| " ... ", | ||
| " ..... ", | ||
| " ...X.. ", | ||
| " ..XXX.. ", | ||
| " ...XXX... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXXXXX... ", | ||
| " ...XXoO+XX.. ", | ||
| " ..XXXO@#XXX.. ", | ||
| " ..XXXXO@#XXX... ", | ||
| " ...XXXXO@#XXXX.. ", | ||
| " ..XXXXXO@#XXXX... ", | ||
| " ...XXXXXo@OXXXXX.. ", | ||
| " ...XXXXXXo@OXXXXXX.. ", | ||
| " ..XXXXXXX$@OXXXXXX... ", | ||
| " ...XXXXXXXX@XXXXXXXX.. ", | ||
| " ...XXXXXXXXXXXXXXXXXX... ", | ||
| " ..XXXXXXXXXXOXXXXXXXXX.. ", | ||
| " ...XXXXXXXXXO@#XXXXXXXXX.. ", | ||
| " ..XXXXXXXXXXX#XXXXXXXXXX... ", | ||
| " ...XXXXXXXXXXXXXXXXXXXXXXX.. ", | ||
| " ...XXXXXXXXXXXXXXXXXXXXXXXX... ", | ||
| " .............................. ", | ||
| " .............................. ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| /* XPM */ | ||
| static char *harddisk_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 39 1", | ||
| "7 c #E3E4E6", | ||
| "4 c #FFFFFF", | ||
| "5 c #839CB5", | ||
| ". c #547897", | ||
| "1 c #4D7492", | ||
| "@ c #376485", | ||
| "o c #7A92A3", | ||
| "u c #D1D9E5", | ||
| "y c #446A8C", | ||
| "i c #51B03D", | ||
| "> c #CAD2DC", | ||
| "O c #718BA7", | ||
| "2 c #65839D", | ||
| "6 c #DCE2EA", | ||
| "0 c #C3C5C8", | ||
| "9 c #F5F6F7", | ||
| ": c #EBEBEC", | ||
| "< c #597B9A", | ||
| "t c #C6CCD3", | ||
| " c None", | ||
| "* c #DFE0E2", | ||
| "e c #467291", | ||
| "a c #526E8B", | ||
| ", c #7393AB", | ||
| "p c #130A0B", | ||
| "# c #AABFCD", | ||
| "r c #B4C4D3", | ||
| "; c #CFCFD0", | ||
| "X c #6F90A6", | ||
| "+ c #6A89A2", | ||
| "- c #D2D3D4", | ||
| "= c #DCDBDA", | ||
| "w c #E4E9ED", | ||
| "q c #C6C8CA", | ||
| "% c #215579", | ||
| "$ c #E7E7E7", | ||
| "3 c #7F97B0", | ||
| "8 c #C0D1DC", | ||
| "& c #5D7C93", | ||
| /* pixels */ | ||
| " ", | ||
| " .XoooXO+@ ", | ||
| " #$$%%%%$$$X ", | ||
| " &$*==-;$$$& ", | ||
| " &:>+,<1234o5 ", | ||
| " ###+67;;78242 ", | ||
| " &4,49*0q*9we4. ", | ||
| " &4+49*,,*9wo4. ", | ||
| "&4%r,67;;782t%4.", | ||
| "&44468rrrr84444,", | ||
| "y11111111111111e", | ||
| "1uu1:::::::::::1", | ||
| "1uu1::::::::ip:1", | ||
| "auu&:::::::::::1", | ||
| "1111111111111111" | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| /* XPM */ | ||
| static char *helpicon_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "32 32 6 1", | ||
| " c Gray0", | ||
| ". c Blue", | ||
| "X c #808080808080", | ||
| "o c #c0c0c0c0c0c0", | ||
| "O c Gray100", | ||
| "+ c None", | ||
| /* pixels */ | ||
| "+++++++++++XXXXXXXX+++++++++++++", | ||
| "++++++++XXXoOOOOOOoXXX++++++++++", | ||
| "++++++XXoOOOOOOOOOOOOoXX++++++++", | ||
| "+++++XoOOOOOOOOOOOOOOOOoX+++++++", | ||
| "++++XOOOOOOOOOOOOOOOOOOOO ++++++", | ||
| "+++XOOOOOOOo......oOOOOOOO +++++", | ||
| "++XOOOOOOOo.oOO....oOOOOOOO ++++", | ||
| "+XoOOOOOOO..OOOO....OOOOOOOo +++", | ||
| "+XOOOOOOOO....OO....OOOOOOOO X++", | ||
| "XoOOOOOOOO....Oo....OOOOOOOOo X+", | ||
| "XOOOOOOOOOo..oO....OOOOOOOOOO X+", | ||
| "XOOOOOOOOOOOOOo...OOOOOOOOOOO XX", | ||
| "XOOOOOOOOOOOOO...OOOOOOOOOOOO XX", | ||
| "XOOOOOOOOOOOOO..oOOOOOOOOOOOO XX", | ||
| "XOOOOOOOOOOOOO..OOOOOOOOOOOOO XX", | ||
| "XoOOOOOOOOOOOOOOOOOOOOOOOOOOo XX", | ||
| "+XOOOOOOOOOOOo..oOOOOOOOOOOO XXX", | ||
| "+XoOOOOOOOOOO....OOOOOOOOOOo XXX", | ||
| "++XOOOOOOOOOO....OOOOOOOOOO XXX+", | ||
| "+++ OOOOOOOOOo..oOOOOOOOOO XXXX+", | ||
| "++++ OOOOOOOOOOOOOOOOOOOO XXXX++", | ||
| "+++++ oOOOOOOOOOOOOOOOOo XXXX+++", | ||
| "++++++ oOOOOOOOOOOOOo XXXX++++", | ||
| "+++++++X oOOOOOOo XXXXX+++++", | ||
| "++++++++XXX oOOO XXXXXXX++++++", | ||
| "++++++++++XXXX OOO XXXXX++++++++", | ||
| "+++++++++++++X OOO XX+++++++++++", | ||
| "+++++++++++++++ OO XX+++++++++++", | ||
| "++++++++++++++++ O XX+++++++++++", | ||
| "+++++++++++++++++ XX+++++++++++", | ||
| "++++++++++++++++++XXX+++++++++++", | ||
| "+++++++++++++++++++XX+++++++++++" | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /* XPM */ | ||
| static char *home_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 3 1", | ||
| ". c Black", | ||
| "X c #FFFFFF", | ||
| " c None", | ||
| /* pixels */ | ||
| " .... ", | ||
| " .XXXX. ", | ||
| " .XXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " .XXXXXXXXXX. ", | ||
| " .............. ", | ||
| " .XXXXXXXXXXXX. ", | ||
| " .XXXXXXXXXXXX. ", | ||
| " .XXXXXXXXXXXX. ", | ||
| " .X.....X....X. ", | ||
| " .X. .X. .X. ", | ||
| " .X. .X. .X. ", | ||
| " .X.....X. .X. ", | ||
| " .XXXXXXX. .X. ", | ||
| " ......... ... " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* XPM */ | ||
| static char * htmbook_xpm[] = { | ||
| "16 16 6 1", | ||
| " c None", | ||
| ". c Black", | ||
| "X c #000080", | ||
| "o c #c0c0c0", | ||
| "O c #808080", | ||
| "+ c Gray100", | ||
| " ", | ||
| " .. ", | ||
| " ..XX. ", | ||
| " ..XXXXX. ", | ||
| " ..XXXXXXXX. ", | ||
| ".oXXXXXXXXXX. ", | ||
| ".XoXXXXXXXXXX. ", | ||
| ".XXoXXXXXXXXXX. ", | ||
| ".XXXoXXXXXXXXX..", | ||
| ".XXXXoXXXXXX..O ", | ||
| " .XXXXoXXX..O+O ", | ||
| " .XXXXo..O++o..", | ||
| " .XXX.O+++o.. ", | ||
| " .XX.o+o.. ", | ||
| " .X.o.. ", | ||
| " ... "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* XPM */ | ||
| static char * htmfoldr_xpm[] = { | ||
| "16 16 6 1", | ||
| " c None", | ||
| ". c Black", | ||
| "X c #000080", | ||
| "o c #c0c0c0", | ||
| "O c #808080", | ||
| "+ c Gray100", | ||
| " ", | ||
| " .. ", | ||
| " ..XX. ", | ||
| " ..XXXXX. ", | ||
| " ..XXXXXXXX. ", | ||
| ".oXXXXXXXXXX. ", | ||
| ".XoXXXXXXXXXX. ", | ||
| ".XXoXXXXXXXXXX. ", | ||
| ".XXXoXXXXXXXXX..", | ||
| ".XXXXoXXXXXX..O ", | ||
| " .XXXXoXXX..O+O ", | ||
| " .XXXXo..O++o..", | ||
| " .XXX.O+++o.. ", | ||
| " .XX.o+o.. ", | ||
| " .X.o.. ", | ||
| " ... "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| /* XPM */ | ||
| static char * htmoptns_xpm[] = { | ||
| "16 15 2 1", | ||
| " c None", | ||
| ". c #000000", | ||
| " ", | ||
| " .. ", | ||
| " ... ", | ||
| " .... ", | ||
| " . ... ", | ||
| " .. ... ", | ||
| " . .. ", | ||
| " .. ... ", | ||
| " . .. ", | ||
| " ......... ", | ||
| " .. ... ", | ||
| " . ... ", | ||
| " .. ... ", | ||
| " .... ....... ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* XPM */ | ||
| static char * htmpage_xpm[] = { | ||
| "16 16 4 1", | ||
| " c None", | ||
| ". c #808080", | ||
| "X c Gray100", | ||
| "o c Black", | ||
| " ", | ||
| " .......... ", | ||
| " .XXXXXXXX.. ", | ||
| " .XXXXXXXXooo ", | ||
| " .X......XXXo ", | ||
| " .XXXXXXXXXXo ", | ||
| " .X........Xo ", | ||
| " .XXXXXXXXXXo ", | ||
| " .X........Xo ", | ||
| " .XXXXXXXXXXo ", | ||
| " .X........Xo ", | ||
| " .XXXXXXXXXXo ", | ||
| " .X........Xo ", | ||
| " .XXXXXXXXXXo ", | ||
| " .XXXXXXXXXXo ", | ||
| " oooooooooooo "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /* XPM */ | ||
| static char *htmsidep_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 6 1", | ||
| ". c Black", | ||
| "X c #FFFFFF", | ||
| "+ c #808080", | ||
| " c None", | ||
| "O c #0000C0", | ||
| "o c #C0C0C0", | ||
| /* pixels */ | ||
| " ", | ||
| " .............. ", | ||
| " .XXXX.ooooooo. ", | ||
| " .XOXX.oo...oo. ", | ||
| " .XXOX.ooooooo. ", | ||
| " .OOOO.o...+.o. ", | ||
| " .XXOX.ooooooo. ", | ||
| " .XOXX.ooooooo. ", | ||
| " .XXXX.o..+ooo. ", | ||
| " .XXOX.ooooooo. ", | ||
| " .XOXX.o...+.o. ", | ||
| " .OOOO.ooooooo. ", | ||
| " .XOXX.o.+...o. ", | ||
| " .XXOX.ooooooo. ", | ||
| " .............. " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* XPM */ | ||
| static char *listview_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 4 1", | ||
| " c Black", | ||
| ". c #FFFFFF", | ||
| "X c #000084", | ||
| "o c #848484", | ||
| /* pixels */ | ||
| " ", | ||
| " .............. ", | ||
| " .XXX.......... ", | ||
| " .XXX. o o . ", | ||
| " .XXX.......... ", | ||
| " .............. ", | ||
| " .XXX.......... ", | ||
| " .XXX. o . ", | ||
| " .XXX.......... ", | ||
| " .............. ", | ||
| " .XXX.......... ", | ||
| " .XXX. o o . ", | ||
| " .XXX.......... ", | ||
| " .............. ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| /* XPM */ | ||
| static char *missimg_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "32 32 5 1", | ||
| "X c Black", | ||
| "o c #FFFFFF", | ||
| " c None", | ||
| ". c #C0C0C0", | ||
| "O c #E0E0E0", | ||
| /* pixels */ | ||
| " .............................X ", | ||
| " .ooooooooooooooooooooooooooooX ", | ||
| " .ooooooooooooooooooooooooooooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOXOOOOOOOOOOOOOOOOooX ", | ||
| " XXXOOOOOXX XOOOOOOOOOOOOOOOooX ", | ||
| " XXXXX XOOOOOOOOOOOOOOooX ", | ||
| " XOOOXXXOOOOOOOooX ", | ||
| " XXX XXOOOOOooX ", | ||
| " XOOOOooX ", | ||
| " . XOOOooX ", | ||
| " .. XXOooX ", | ||
| " .o.. XooX ", | ||
| " .ooO... XXX ", | ||
| " .ooOOOO.......... ", | ||
| " .ooOOOOOOOOOOOOOO.. ", | ||
| " .ooOOOOOOOOOOOOOOOO.. ", | ||
| " .ooOOOOOOOOOOOOOOOOOO......... ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ", | ||
| " .ooooooooooooooooooooooooooooX ", | ||
| " .ooooooooooooooooooooooooooooX ", | ||
| " XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| /* XPM */ | ||
| static char *error_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 4 1", | ||
| " c None", | ||
| "X c #242424", | ||
| "o c #DCDF00", | ||
| ". c #C00000", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ..... ", | ||
| " ............. ", | ||
| " ................. ", | ||
| " ................... ", | ||
| " ....................... ", | ||
| " ......................... ", | ||
| " ........................... ", | ||
| " ...........................X ", | ||
| " .............................X ", | ||
| " ............................... ", | ||
| " ...............................X ", | ||
| " .................................X ", | ||
| " .................................X ", | ||
| " .................................XX ", | ||
| " ...ooooooooooooooooooooooooooo...XX ", | ||
| " ....ooooooooooooooooooooooooooo....X ", | ||
| " ....ooooooooooooooooooooooooooo....X ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ....ooooooooooooooooooooooooooo....XX ", | ||
| " ...ooooooooooooooooooooooooooo...XXX ", | ||
| " ...ooooooooooooooooooooooooooo...XXX ", | ||
| " .................................XX ", | ||
| " .................................XX ", | ||
| " ...............................XXX ", | ||
| " ...............................XXX ", | ||
| " .............................XXX ", | ||
| " ...........................XXXX ", | ||
| " ...........................XXX ", | ||
| " .........................XXX ", | ||
| " .......................XXXX ", | ||
| " X...................XXXXX ", | ||
| " X.................XXXXX ", | ||
| " X.............XXXXX ", | ||
| " XXXX.....XXXXXXXX ", | ||
| " XXXXXXXXXXXXX ", | ||
| " XXXXX ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* XPM */ | ||
| static char *info_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 9 1", | ||
| "$ c Black", | ||
| "O c #FFFFFF", | ||
| "@ c #808080", | ||
| "+ c #000080", | ||
| "o c #E8EB01", | ||
| " c None", | ||
| "X c #FFFF40", | ||
| "# c #C0C0C0", | ||
| ". c #ABAD01", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ..... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXXXXXXXo.. ", | ||
| " .XXXOXXXXXXXoo. ", | ||
| " .XOOXXX+XXXXXo. ", | ||
| " .XOOOXX+++XXXXoo. ", | ||
| " .XOOXXX+++XXXXXo. ", | ||
| " .XOOOXXX+++XXXXXXo. ", | ||
| " .XOOXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXXX. ", | ||
| " .XXXXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXoo. ", | ||
| " .XXXXXX+++XXXXXo. ", | ||
| " .XXXXXXX+XXXXXXo. ", | ||
| " .XXXXXXXXXXXXo. ", | ||
| " .XXXXX+++XXXoo. ", | ||
| " .XXXX+++XXoo. ", | ||
| " .XXXXXXXXo. ", | ||
| " ..XXXXXXo.. ", | ||
| " .XXXXXo.. ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@ ", | ||
| " ### ", | ||
| " $$$ ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| /* XPM */ | ||
| static char *question_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 21 1", | ||
| ". c Black", | ||
| "> c #696969", | ||
| "O c #1F1F00", | ||
| "+ c #181818", | ||
| "o c #F6F900", | ||
| "; c #3F3F00", | ||
| "$ c #111111", | ||
| " c None", | ||
| "& c #202020", | ||
| "X c #AAAA00", | ||
| "@ c #949400", | ||
| ": c #303030", | ||
| "1 c #383838", | ||
| "% c #2A2A00", | ||
| ", c #404040", | ||
| "= c #B4B400", | ||
| "- c #484848", | ||
| "# c #151500", | ||
| "< c #9F9F00", | ||
| "2 c #6A6A00", | ||
| "* c #353500", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ......... ", | ||
| " ...XXXXXXX.. ", | ||
| " ..XXXXoooooXXXO+ ", | ||
| " ..XXooooooooooooX@.. ", | ||
| " ..XoooooooooooooooXX#. ", | ||
| " $%XoooooooooooooooooXX#. ", | ||
| " &.XoooooooXXXXXXooooooXX.. ", | ||
| " .XooooooXX.$...$XXoooooX*. ", | ||
| " $.XoooooX%.$ .*oooooo=.. ", | ||
| " .XooooooX.. -.XoooooX.. ", | ||
| " .XoooooX..+ .XoooooX;. ", | ||
| " ...XXXX..: .XoooooX;. ", | ||
| " ........ >.XoooooX;. ", | ||
| " +.XoooooX.. ", | ||
| " ,.Xoooooo<.. ", | ||
| " 1#XooooooXO.. ", | ||
| " &#XooooooX2.. ", | ||
| " $%XooooooXX.. ", | ||
| " $%XooooooXX.. ", | ||
| " $%XooooooXX.. ", | ||
| " &.XooooooXX.. ", | ||
| " .XooooooXX.. ", | ||
| " &.XoooooXX.. ", | ||
| " ..XooooXX.. ", | ||
| " ..XooooX... ", | ||
| " ..XXooXX..& ", | ||
| " ...XXXXX.. ", | ||
| " ........ ", | ||
| " ", | ||
| " ", | ||
| " ....... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXoooXX.. ", | ||
| " ..XoooooX.. ", | ||
| " ..XoooooX.. ", | ||
| " ..XXoooXX.. ", | ||
| " ..XXXXX.. ", | ||
| " ....... ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* XPM */ | ||
| static char *warning_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "48 48 9 1", | ||
| "@ c Black", | ||
| "o c #A6A800", | ||
| "+ c #8A8C00", | ||
| "$ c #B8BA00", | ||
| " c None", | ||
| "O c #6E7000", | ||
| "X c #DCDF00", | ||
| ". c #C00000", | ||
| "# c #373800", | ||
| /* pixels */ | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " . ", | ||
| " ... ", | ||
| " ... ", | ||
| " ..... ", | ||
| " ...X.. ", | ||
| " ..XXX.. ", | ||
| " ...XXX... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXXXXX... ", | ||
| " ...XXoO+XX.. ", | ||
| " ..XXXO@#XXX.. ", | ||
| " ..XXXXO@#XXX... ", | ||
| " ...XXXXO@#XXXX.. ", | ||
| " ..XXXXXO@#XXXX... ", | ||
| " ...XXXXXo@OXXXXX.. ", | ||
| " ...XXXXXXo@OXXXXXX.. ", | ||
| " ..XXXXXXX$@OXXXXXX... ", | ||
| " ...XXXXXXXX@XXXXXXXX.. ", | ||
| " ...XXXXXXXXXXXXXXXXXX... ", | ||
| " ..XXXXXXXXXXOXXXXXXXXX.. ", | ||
| " ...XXXXXXXXXO@#XXXXXXXXX.. ", | ||
| " ..XXXXXXXXXXX#XXXXXXXXXX... ", | ||
| " ...XXXXXXXXXXXXXXXXXXXXXXX.. ", | ||
| " ...XXXXXXXXXXXXXXXXXXXXXXXX... ", | ||
| " .............................. ", | ||
| " .............................. ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| /* XPM */ | ||
| static char *new_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 29 1", | ||
| "* c #97C4E7", | ||
| "- c #72A8D2", | ||
| ": c #FFFFFF", | ||
| "9 c #839CB5", | ||
| "o c #6B98B8", | ||
| "X c #5A89A6", | ||
| "# c #3A749C", | ||
| ", c #D1E5F5", | ||
| "0 c #85A7BC", | ||
| "$ c #C3DDF1", | ||
| "8 c #749BB4", | ||
| "; c #5F9BC8", | ||
| " c None", | ||
| "+ c #538DB3", | ||
| "= c #85BBE2", | ||
| "3 c #EFF6FC", | ||
| "O c #6591AE", | ||
| "5 c #F7FBFD", | ||
| "7 c #FAFCFE", | ||
| "< c #DAEAF7", | ||
| "4 c #E9F3FA", | ||
| "6 c #FDFDFE", | ||
| "1 c #E2EFF8", | ||
| ". c #8EA9BC", | ||
| "% c #B6D5EE", | ||
| "& c #A5CCEA", | ||
| "> c #ACE95B", | ||
| "2 c #F4F9FD", | ||
| "@ c #4581AA", | ||
| /* pixels */ | ||
| " .XoOO+@#. ", | ||
| " .$$%&*=O-; ", | ||
| " @@@@$%&*O:*o ", | ||
| " @>>@$$%&O::*o ", | ||
| "@@@>>@@@$%OOoO+ ", | ||
| "@>>>>>>@,$%&*=+ ", | ||
| "@>>>>>>@<,$%&*+ ", | ||
| "@@@>>@@@1<,$%&O ", | ||
| " @>>@2341<,$%O ", | ||
| " @@@@52341<,$o ", | ||
| " .:6752341<,8 ", | ||
| " .::6752341<8 ", | ||
| " .:::67523419 ", | ||
| " .::::6752340 ", | ||
| " ............ " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| /* XPM */ | ||
| static char *new_dir_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 22 1", | ||
| "X c Black", | ||
| "> c #9BACC2", | ||
| "o c #547897", | ||
| "1 c #7F99B4", | ||
| "O c #D1D9E5", | ||
| "< c #EAEDF3", | ||
| "# c #CAD2DC", | ||
| "3 c #718BA7", | ||
| "@ c #BECAD9", | ||
| "& c #E1E6EE", | ||
| "; c #F5F6F7", | ||
| ". c #FFFF00", | ||
| ", c #8DA0B9", | ||
| " c None", | ||
| "% c #D6DFE7", | ||
| "$ c #D2D9E0", | ||
| "- c #ADBACE", | ||
| "= c #EEF1F3", | ||
| "+ c #B3BFD1", | ||
| "2 c #7A90AC", | ||
| ": c #A2B3C5", | ||
| "* c #E5EAF1", | ||
| /* pixels */ | ||
| " .X .XX.", | ||
| " ooooo .X.X. ", | ||
| " oOOOOo XX...XX", | ||
| " oooooooo.......", | ||
| " o+@#$%&*XX...XX", | ||
| " o+@#$%&*=.X.X. ", | ||
| " o-+@#O%&.X;.X .", | ||
| " o:-+@#O%&*=;o ", | ||
| " o>:-+@#O%&*=o ", | ||
| " o,>:-+@#O%&<o ", | ||
| " o1,>:-+@#O%&o ", | ||
| " o21,>:-+@#O%o ", | ||
| " o321,>:-+@#Oo ", | ||
| " ooooooooooooo ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| /* XPM */ | ||
| static char *paste_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 25 1", | ||
| "< c #FEECE4", | ||
| "> c #FEE3D7", | ||
| "O c #FFFFFF", | ||
| "o c #7B767D", | ||
| "% c #F79586", | ||
| "& c #CAE1F3", | ||
| "@ c #F08B62", | ||
| "# c #FCCBB8", | ||
| "- c #FDD8C9", | ||
| "4 c #FFF8F4", | ||
| "5 c #FFF5F0", | ||
| " c None", | ||
| "$ c #F8AA8F", | ||
| ", c #EFF6FC", | ||
| "1 c #F7FBFD", | ||
| "2 c #FAFCFE", | ||
| "; c #DAEAF7", | ||
| ": c #E9F3FA", | ||
| "6 c #FFFAF8", | ||
| ". c #3C78A6", | ||
| "3 c #FFF1ED", | ||
| "X c #9B8687", | ||
| "+ c #FBBCA4", | ||
| "* c #B6D5EE", | ||
| "= c #F4F9FD", | ||
| /* pixels */ | ||
| " ...... ", | ||
| " .XoOOOOoo. ", | ||
| ".+XOOOOOOX@. ", | ||
| ".+XXXXXXXX@. ", | ||
| ".#++$$%@..... ", | ||
| ".##++$$%.&*.=. ", | ||
| ".-##++$$.;&.==. ", | ||
| ".--##++$.:;.... ", | ||
| ".>--##++.,:;&*. ", | ||
| ".<>--##+.1,:;&. ", | ||
| ".<<>--##.21,:;. ", | ||
| ".3<<>--#.O21=:. ", | ||
| ".45<<>--....... ", | ||
| ".6453<>----. ", | ||
| "............ " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| /* XPM */ | ||
| static char *print_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 39 1", | ||
| "< c #E3E4E6", | ||
| "+ c #C3C3C4", | ||
| "i c #FFFFFF", | ||
| ": c #74879B", | ||
| "# c #5A89A6", | ||
| "a c #F1F4F7", | ||
| "r c #5A809C", | ||
| "@ c #BDCCD9", | ||
| "e c #7A92A4", | ||
| "% c #3F6F93", | ||
| "t c #9FA2A6", | ||
| "3 c #939495", | ||
| "w c #5F666D", | ||
| "9 c #65839E", | ||
| "5 c #4A7291", | ||
| "$ c #4B7F9E", | ||
| " c None", | ||
| "O c #DFE0E2", | ||
| "o c #F3F3F3", | ||
| "; c #84A5BB", | ||
| "& c #467291", | ||
| ". c #7897AD", | ||
| "* c #407598", | ||
| "4 c #CFCFD0", | ||
| "7 c #6F90A6", | ||
| "y c #6A89A2", | ||
| "0 c #AAADB2", | ||
| "1 c #D2D3D4", | ||
| "u c #4F7592", | ||
| ", c #BCBDBE", | ||
| "p c #57778E", | ||
| "q c #979BA0", | ||
| "2 c #ABABAC", | ||
| "- c #E7E7E7", | ||
| "= c #D6DEE6", | ||
| "> c #9FA0A0", | ||
| "8 c #829EB5", | ||
| "X c #8FB0C3", | ||
| "6 c #5D7C93", | ||
| /* pixels */ | ||
| " .XXXXXXXX ", | ||
| " .oooooooX ", | ||
| " .OOOOOOOX ", | ||
| " .+++++++X ", | ||
| "@##$%&&&&&%*##@ ", | ||
| "$=-;:>,<123$-=$ ", | ||
| ".44.5678.96$44. ", | ||
| "7,,,,,,,,,,,,,7 ", | ||
| "900qwwwwwwwe009 ", | ||
| "rtt9ryyyyyyuttr ", | ||
| "6qq6iiiiiii%qq6 ", | ||
| "633paiiiiii%336 ", | ||
| "XXX*iiiiiii%XXX ", | ||
| " 6iiiiiii% ", | ||
| " $XXXXXXX# " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| /* XPM */ | ||
| static char *quit_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 69 1", | ||
| "@ c Black", | ||
| "i c #9AEA53", | ||
| "D c #7E9BB1", | ||
| "H c #839FB4", | ||
| ", c #B7C7D3", | ||
| "8 c #BCCBD6", | ||
| "7 c #C1CFDA", | ||
| "v c #92ABBD", | ||
| "- c #D0DBE2", | ||
| "O c #547897", | ||
| "+ c #376485", | ||
| "L c #7090A8", | ||
| "t c #AEC0CE", | ||
| "g c #B3C4D1", | ||
| "S c #84A0B4", | ||
| "G c #89A4B8", | ||
| "> c #BDCCD7", | ||
| "F c #5A809C", | ||
| "2 c #C2D0DA", | ||
| "k c #93ACBE", | ||
| "= c #D6E0E6", | ||
| "* c #446A8C", | ||
| "z c #A5B9C8", | ||
| "# c #DEE5EB", | ||
| "0 c #AFC1CE", | ||
| "r c #B4C5D2", | ||
| "p c #B9C9D5", | ||
| "A c #8AA5B8", | ||
| "M c #92AABD", | ||
| "j c #A6BAC9", | ||
| "K c #7796AC", | ||
| "l c #ABBECC", | ||
| "o c #E4EAEF", | ||
| "9 c #B5C6D2", | ||
| " c None", | ||
| "; c #C9D6DF", | ||
| "X c #305F81", | ||
| "m c #98AFC0", | ||
| "V c #9DB3C3", | ||
| "% c #D1DBE3", | ||
| "u c #A2B7C6", | ||
| "y c #A7BBCA", | ||
| "h c #ACBFCD", | ||
| "4 c #B6C7D3", | ||
| "w c #C0CFD9", | ||
| "d c #982106", | ||
| "B c #85A0B5", | ||
| "6 c #C8D4DE", | ||
| "c c #99B0C1", | ||
| "x c #9EB4C4", | ||
| "$ c #D7E0E7", | ||
| "q c #A8BCCA", | ||
| "s c #ADC0CD", | ||
| "3 c #BCCCD7", | ||
| "N c #8BA5B9", | ||
| ": c #C4D1DB", | ||
| "1 c #C9D5DE", | ||
| "f c #9AB1C2", | ||
| "n c #A4B9C8", | ||
| "a c #B3C5D1", | ||
| ". c #215579", | ||
| "J c #7D9AB0", | ||
| "& c #829EB5", | ||
| "e c #BBCAD6", | ||
| "b c #8CA6B9", | ||
| "Z c #91AABC", | ||
| "C c #96AEC0", | ||
| "< c #CFDAE2", | ||
| "5 c #AFC2CF", | ||
| /* pixels */ | ||
| " ..XXXXXXXXXX ", | ||
| " XoO+X@@@@@@X ", | ||
| " X#$%&X*@@@@X ", | ||
| " X=-;:>,X@@@X ", | ||
| " X<12345X@@@X ", | ||
| " X67890qX@XXX ", | ||
| " XwertyuX@XiX ", | ||
| " XpasddfX++iiX ", | ||
| " XghjddkXiiiiiX ", | ||
| " XlzxcvbXiiiiiiX", | ||
| " XnxmMNBXiiiiiX ", | ||
| " XVCZASDXXXiiX ", | ||
| " XXFGHJKX XiX ", | ||
| " FXXFLX XX ", | ||
| " XX* " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| /* XPM */ | ||
| static char *redo_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 37 1", | ||
| "4 c #9BACC2", | ||
| "; c #4C7398", | ||
| "3 c #547B99", | ||
| "* c #547897", | ||
| "# c #5A89A6", | ||
| "8 c #3A749C", | ||
| "5 c #5A809C", | ||
| ", c #7F99B4", | ||
| "& c #3F6F93", | ||
| "9 c #85A7BC", | ||
| "+ c #749BB4", | ||
| "> c #718BA7", | ||
| "e c #A5B3C8", | ||
| "w c #BECAD9", | ||
| ": c #65839D", | ||
| "u c #E1E6EE", | ||
| "o c #236289", | ||
| "r c #ADBED2", | ||
| "= c #597B9A", | ||
| "2 c #8DA0B9", | ||
| " c None", | ||
| "% c #467291", | ||
| "1 c #7393AB", | ||
| "i c #4C809F", | ||
| "- c #A0BACB", | ||
| "O c #6591AE", | ||
| "X c #407598", | ||
| "6 c #6F90A6", | ||
| "t c #D2D9E0", | ||
| "7 c #ADBACE", | ||
| "@ c #326A8F", | ||
| "0 c #467A9C", | ||
| ". c #ACC4D3", | ||
| "< c #7F97B0", | ||
| "y c #B3BFD1", | ||
| "q c #A2B3C5", | ||
| "$ c #8FB0C3", | ||
| /* pixels */ | ||
| " .XoooO ", | ||
| " +o@@@@@o# +", | ||
| " $@%%&@&%%&@ +o", | ||
| " X*=@+-+@*=;@#&@", | ||
| " @:=+ @=:=*:@", | ||
| " &>:$ @:>>>@", | ||
| " &,<X X>,,,&", | ||
| " +123 @<2222&", | ||
| " X44X #@56<44X", | ||
| " O1748 .9#&o", | ||
| " 0qwe8 ", | ||
| " 8rty8 ", | ||
| " 8wu+ ", | ||
| " i## ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| /* XPM */ | ||
| static char *removable_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 23 1", | ||
| "@ c #C3C3C4", | ||
| "4 c #FFFFFF", | ||
| "o c #D5D6D8", | ||
| "> c #7A92A3", | ||
| ". c #8497A5", | ||
| "% c #ACAEB2", | ||
| "2 c #4A7898", | ||
| ": c #DCE2EA", | ||
| ", c #F5F6F7", | ||
| "= c #EBEBEC", | ||
| "$ c #B7B7B8", | ||
| " c None", | ||
| "X c #DFE0E2", | ||
| "* c #A6A8AD", | ||
| "1 c #4C809F", | ||
| "3 c #407598", | ||
| "O c #CFCFD0", | ||
| "; c #9EA2A8", | ||
| "# c #BCBDBE", | ||
| "+ c #C6C8CA", | ||
| "- c #979BA0", | ||
| "& c #E7E7E7", | ||
| "< c #8FB0C3", | ||
| /* pixels */ | ||
| " ......... ", | ||
| " .XoO+@#$%. ", | ||
| " .XoO+@#$%. ", | ||
| " .&XoO+@#$%*. ", | ||
| " .&XoO+@#$%*. ", | ||
| " .=&XoO+@#$%*-. ", | ||
| " .=&XoO+@#$%*;. ", | ||
| ".:=&XoO+@#$%*;>.", | ||
| ".,=&XoO+@#$%*;-.", | ||
| "<..............<", | ||
| "<,=&XoO+@#$%%%%.", | ||
| "<O1111122233*4*.", | ||
| "<OOOOOOOOOOO***.", | ||
| " <<<<<<<<<<<<<< ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /* XPM */ | ||
| static char *repview_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 3 1", | ||
| " c Black", | ||
| "X c #FFFFFF", | ||
| ". c #C0C0C0", | ||
| /* pixels */ | ||
| " ", | ||
| " .............. ", | ||
| " . . . . ", | ||
| " .............. ", | ||
| " .............. ", | ||
| " XXXXXXXXXXXXXX ", | ||
| " X X X X ", | ||
| " XXXXXXXXXXXXXX ", | ||
| " X X X X ", | ||
| " XXXXXXXXXXXXXX ", | ||
| " X X X X ", | ||
| " XXXXXXXXXXXXXX ", | ||
| " X X X X ", | ||
| " XXXXXXXXXXXXXX ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* XPM */ | ||
| static char *tick_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "10 10 2 1", | ||
| ". c Gray0", | ||
| " c None", | ||
| /* pixels */ | ||
| " ", | ||
| " ..", | ||
| " ...", | ||
| " ... ", | ||
| ".. ... ", | ||
| "... ... ", | ||
| " ..... ", | ||
| " ... ", | ||
| " . ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| /* XPM */ | ||
| static char *tipicon_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "32 32 9 1", | ||
| "$ c Black", | ||
| "O c #FFFFFF", | ||
| "@ c #808080", | ||
| "+ c #000080", | ||
| "o c #E8EB01", | ||
| " c None", | ||
| "X c #FFFF40", | ||
| "# c #C0C0C0", | ||
| ". c #ABAD01", | ||
| /* pixels */ | ||
| " ", | ||
| " ..... ", | ||
| " ..XXXXX.. ", | ||
| " ..XXXXXXXXo.. ", | ||
| " .XXXOXXXXXXXoo. ", | ||
| " .XOOXXX+XXXXXo. ", | ||
| " .XOOOXX+++XXXXoo. ", | ||
| " .XOOXXX+++XXXXXo. ", | ||
| " .XOOOXXX+++XXXXXXo. ", | ||
| " .XOOXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXXX. ", | ||
| " .XXXXXXX+++XXXXXXo. ", | ||
| " .XXXXXXX+++XXXXXoo. ", | ||
| " .XXXXXX+++XXXXXo. ", | ||
| " .XXXXXXX+XXXXXXo. ", | ||
| " .XXXXXXXXXXXXo. ", | ||
| " .XXXXX+++XXXoo. ", | ||
| " .XXXX+++XXoo. ", | ||
| " .XXXXXXXXo. ", | ||
| " ..XXXXXXo.. ", | ||
| " .XXXXXo.. ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@@@ ", | ||
| " @#######@ ", | ||
| " @@@@@@@ ", | ||
| " ### ", | ||
| " $$$ ", | ||
| " ", | ||
| " ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* XPM */ | ||
| static char * toparent_xpm[] = { | ||
| "16 15 3 1", | ||
| " c None", | ||
| ". c Black", | ||
| "X c Gray100", | ||
| " ", | ||
| " .. ", | ||
| " .XX. ", | ||
| " .XXXX. ", | ||
| " .XXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " ....XXXX.... ", | ||
| " .XXXX. ", | ||
| " .XXXX..... ", | ||
| " .XXXXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " .......... ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| /* XPM */ | ||
| static char *undo_xpm[] = { | ||
| /* columns rows colors chars-per-pixel */ | ||
| "16 15 37 1", | ||
| "4 c #9BACC2", | ||
| "* c #4C7398", | ||
| "2 c #547B99", | ||
| "- c #547897", | ||
| "@ c #5A89A6", | ||
| "8 c #3A749C", | ||
| "6 c #5A809C", | ||
| ", c #7F99B4", | ||
| "$ c #3F6F93", | ||
| "7 c #85A7BC", | ||
| "+ c #749BB4", | ||
| "> c #718BA7", | ||
| "0 c #A5B3C8", | ||
| "q c #BECAD9", | ||
| ": c #65839D", | ||
| "u c #E1E6EE", | ||
| "X c #236289", | ||
| "y c #ADBED2", | ||
| "= c #597B9A", | ||
| "1 c #8DA0B9", | ||
| " c None", | ||
| "% c #467291", | ||
| "3 c #7393AB", | ||
| "i c #4C809F", | ||
| "; c #A0BACB", | ||
| ". c #6591AE", | ||
| "o c #407598", | ||
| "5 c #6F90A6", | ||
| "t c #D2D9E0", | ||
| "9 c #ADBACE", | ||
| "# c #326A8F", | ||
| "e c #467A9C", | ||
| "O c #ACC4D3", | ||
| "< c #7F97B0", | ||
| "r c #B3BFD1", | ||
| "w c #A2B3C5", | ||
| "& c #8FB0C3", | ||
| /* pixels */ | ||
| " .XXXoO ", | ||
| "+ @X#####X+ ", | ||
| "X+ #$%%$#$%%#& ", | ||
| "#$@#*=-#+;+#=-o ", | ||
| "#:-=:=# +=:# ", | ||
| "#>>>:# &:>$ ", | ||
| "$,,,>o o<,$ ", | ||
| "$1111<# 213+ ", | ||
| "o44<56#@ o44o ", | ||
| "X$@7O 8493. ", | ||
| " 80qwe ", | ||
| " 8rty8 ", | ||
| " +uq8 ", | ||
| " @@i ", | ||
| " " | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* XPM */ | ||
| static char * up_xpm[] = { | ||
| "16 15 3 1", | ||
| " c None", | ||
| ". c Black", | ||
| "X c Gray100", | ||
| " ", | ||
| " .. ", | ||
| " .XX. ", | ||
| " .XXXX. ", | ||
| " .XXXXXX. ", | ||
| " .XXXXXXXX. ", | ||
| " ....XXXX.... ", | ||
| " .XXXX. ", | ||
| " .XXXX. ", | ||
| " .XXXX. ", | ||
| " .XXXX. ", | ||
| " .XXXX. ", | ||
| " .XXXX. ", | ||
| " ...... ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* XPM */ | ||
| static char *wxwin16x16_xpm[] = { | ||
| "16 16 6 1", | ||
| " c None", | ||
| ". c #000000", | ||
| "X c #000084", | ||
| "o c #FFFFFF", | ||
| "O c #FFFF00", | ||
| "+ c #FF0000", | ||
| " ", | ||
| " ", | ||
| " ....... ", | ||
| " .XXXXX. ", | ||
| " .oXXXX. ", | ||
| " .oXXX.......", | ||
| ".....oXXX.OOOOO.", | ||
| ".+++.XXXX.oOOOO.", | ||
| ".o++......oOOOO.", | ||
| ".o++++. .oOOOO.", | ||
| ".o++++. .OOOOO.", | ||
| ".+++++. .......", | ||
| "....... ", | ||
| " ", | ||
| " ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| /* XPM */ | ||
| static char *wxwin32x32_xpm[] = { | ||
| "32 32 6 1", | ||
| " c None", | ||
| ". c #000000", | ||
| "X c #000084", | ||
| "o c #FFFFFF", | ||
| "O c #FFFF00", | ||
| "+ c #FF0000", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " .............. ", | ||
| " .XXXXXXXXXXXX. ", | ||
| " .XXXXXXXXXXXX. ", | ||
| " .XooXXXXXXXXX. ", | ||
| " .XooXXXXXXXXX. ", | ||
| " .XooXXXXXXXXX. ", | ||
| " .XooXXXXXX..............", | ||
| " .XooXXXXXX.OOOOOOOOOOOO.", | ||
| ".........XooXXXXXX.OOOOOOOOOOOO.", | ||
| ".+++++++.XooXXXXXX.OooOOOOOOOOO.", | ||
| ".+++++++.XooXXXXXX.OooOOOOOOOOO.", | ||
| ".+oo++++.XXXXXXXXX.OooOOOOOOOOO.", | ||
| ".+oo++++.XXXXXXXXX.OooOOOOOOOOO.", | ||
| ".+oo++++...........OooOOOOOOOOO.", | ||
| ".+oo+++++++++. .OooOOOOOOOOO.", | ||
| ".+oo+++++++++. .OooOOOOOOOOO.", | ||
| ".+oo+++++++++. .OooOOOOOOOOO.", | ||
| ".+oo+++++++++. .OOOOOOOOOOOO.", | ||
| ".+oo+++++++++. .OOOOOOOOOOOO.", | ||
| ".++++++++++++. ..............", | ||
| ".++++++++++++. ", | ||
| ".............. ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " ", | ||
| " "}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,249 @@ | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
| // Name: msvc/wx/msw/setup.h | ||
| // Purpose: wrapper around the real wx/setup.h for Visual C++ | ||
| // Author: Vadim Zeitlin | ||
| // Modified by: | ||
| // Created: 2004-12-12 | ||
| // RCS-ID: $Id: setup.h 43687 2006-11-27 15:03:59Z VZ $ | ||
| // Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org> | ||
| // Licence: wxWindows licence | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| // VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but | ||
| // the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined | ||
| // explicitly! | ||
|
|
||
| #ifdef _MSC_VER | ||
| #ifdef _UNICODE | ||
| #ifdef WXUSINGDLL | ||
| #ifdef _DEBUG | ||
| #include "../../../lib/vc_dll/mswud/wx/setup.h" | ||
| #else | ||
| #include "../../../lib/vc_dll/mswu/wx/setup.h" | ||
| #endif | ||
| #else | ||
| #ifdef _DEBUG | ||
| #include "../../../lib/vc_lib/mswud/wx/setup.h" | ||
| #else | ||
| #include "../../../lib/vc_lib/mswu/wx/setup.h" | ||
| #endif | ||
| #endif | ||
|
|
||
| #ifdef _DEBUG | ||
| #pragma comment(lib,"wxbase28ud") | ||
| #pragma comment(lib,"wxbase28ud_net") | ||
| #pragma comment(lib,"wxbase28ud_xml") | ||
| #if wxUSE_REGEX | ||
| #pragma comment(lib,"wxregexud") | ||
| #endif | ||
|
|
||
| #if wxUSE_GUI | ||
| #if wxUSE_XML | ||
| #pragma comment(lib,"wxexpatd") | ||
| #endif | ||
| #if wxUSE_LIBJPEG | ||
| #pragma comment(lib,"wxjpegd") | ||
| #endif | ||
| #if wxUSE_LIBPNG | ||
| #pragma comment(lib,"wxpngd") | ||
| #endif | ||
| #if wxUSE_LIBTIFF | ||
| #pragma comment(lib,"wxtiffd") | ||
| #endif | ||
| #if wxUSE_ZLIB | ||
| #pragma comment(lib,"wxzlibd") | ||
| #endif | ||
| #pragma comment(lib,"wxmsw28ud_adv") | ||
| #pragma comment(lib,"wxmsw28ud_core") | ||
| #pragma comment(lib,"wxmsw28ud_html") | ||
| #if wxUSE_GLCANVAS | ||
| #pragma comment(lib,"wxmsw28ud_gl") | ||
| #endif | ||
| #if wxUSE_DEBUGREPORT | ||
| #pragma comment(lib,"wxmsw28ud_qa") | ||
| #endif | ||
| #if wxUSE_XRC | ||
| #pragma comment(lib,"wxmsw28ud_xrc") | ||
| #endif | ||
| #if wxUSE_AUI | ||
| #pragma comment(lib,"wxmsw28ud_aui") | ||
| #endif | ||
| #if wxUSE_RICHTEXT | ||
| #pragma comment(lib,"wxmsw28ud_richtext") | ||
| #endif | ||
| #if wxUSE_MEDIACTRL | ||
| #pragma comment(lib,"wxmsw28ud_media") | ||
| #endif | ||
| #if wxUSE_ODBC | ||
| #pragma comment(lib,"wxbase28ud_odbc") | ||
| #endif | ||
| #endif // wxUSE_GUI | ||
| #else // release | ||
| #pragma comment(lib,"wxbase28u") | ||
| #pragma comment(lib,"wxbase28u_net") | ||
| #pragma comment(lib,"wxbase28u_xml") | ||
| #if wxUSE_REGEX | ||
| #pragma comment(lib,"wxregexu") | ||
| #endif | ||
|
|
||
| #if wxUSE_GUI | ||
| #if wxUSE_XML | ||
| #pragma comment(lib,"wxexpat") | ||
| #endif | ||
| #if wxUSE_LIBJPEG | ||
| #pragma comment(lib,"wxjpeg") | ||
| #endif | ||
| #if wxUSE_LIBPNG | ||
| #pragma comment(lib,"wxpng") | ||
| #endif | ||
| #if wxUSE_LIBTIFF | ||
| #pragma comment(lib,"wxtiff") | ||
| #endif | ||
| #if wxUSE_ZLIB | ||
| #pragma comment(lib,"wxzlib") | ||
| #endif | ||
| #pragma comment(lib,"wxmsw28u_adv") | ||
| #pragma comment(lib,"wxmsw28u_core") | ||
| #pragma comment(lib,"wxmsw28u_html") | ||
| #if wxUSE_GLCANVAS | ||
| #pragma comment(lib,"wxmsw28u_gl") | ||
| #endif | ||
| #if wxUSE_DEBUGREPORT | ||
| #pragma comment(lib,"wxmsw28u_qa") | ||
| #endif | ||
| #if wxUSE_XRC | ||
| #pragma comment(lib,"wxmsw28u_xrc") | ||
| #endif | ||
| #if wxUSE_AUI | ||
| #pragma comment(lib,"wxmsw28u_aui") | ||
| #endif | ||
| #if wxUSE_RICHTEXT | ||
| #pragma comment(lib,"wxmsw28u_richtext") | ||
| #endif | ||
| #if wxUSE_MEDIACTRL | ||
| #pragma comment(lib,"wxmsw28u_media") | ||
| #endif | ||
| #if wxUSE_ODBC | ||
| #pragma comment(lib,"wxbase28u_odbc") | ||
| #endif | ||
| #endif // wxUSE_GUI | ||
| #endif // debug/release | ||
| #else // !_UNICODE | ||
| #ifdef WXUSINGDLL | ||
| #ifdef _DEBUG | ||
| #include "../../../lib/vc_dll/mswd/wx/setup.h" | ||
| #else | ||
| #include "../../../lib/vc_dll/msw/wx/setup.h" | ||
| #endif | ||
| #else // static lib | ||
| #ifdef _DEBUG | ||
| #include "../../../lib/vc_lib/mswd/wx/setup.h" | ||
| #else | ||
| #include "../../../lib/vc_lib/msw/wx/setup.h" | ||
| #endif | ||
| #endif // shared/static | ||
|
|
||
| #ifdef _DEBUG | ||
| #pragma comment(lib,"wxbase28d") | ||
| #pragma comment(lib,"wxbase28d_net") | ||
| #pragma comment(lib,"wxbase28d_xml") | ||
| #if wxUSE_REGEX | ||
| #pragma comment(lib,"wxregexd") | ||
| #endif | ||
|
|
||
| #if wxUSE_GUI | ||
| #if wxUSE_XML | ||
| #pragma comment(lib,"wxexpatd") | ||
| #endif | ||
| #if wxUSE_LIBJPEG | ||
| #pragma comment(lib,"wxjpegd") | ||
| #endif | ||
| #if wxUSE_LIBPNG | ||
| #pragma comment(lib,"wxpngd") | ||
| #endif | ||
| #if wxUSE_LIBTIFF | ||
| #pragma comment(lib,"wxtiffd") | ||
| #endif | ||
| #if wxUSE_ZLIB | ||
| #pragma comment(lib,"wxzlibd") | ||
| #endif | ||
| #pragma comment(lib,"wxmsw28d_adv") | ||
| #pragma comment(lib,"wxmsw28d_core") | ||
| #pragma comment(lib,"wxmsw28d_html") | ||
| #if wxUSE_GLCANVAS | ||
| #pragma comment(lib,"wxmsw28d_gl") | ||
| #endif | ||
| #if wxUSE_DEBUGREPORT | ||
| #pragma comment(lib,"wxmsw28d_qa") | ||
| #endif | ||
| #if wxUSE_XRC | ||
| #pragma comment(lib,"wxmsw28d_xrc") | ||
| #endif | ||
| #if wxUSE_AUI | ||
| #pragma comment(lib,"wxmsw28d_aui") | ||
| #endif | ||
| #if wxUSE_RICHTEXT | ||
| #pragma comment(lib,"wxmsw28d_richtext") | ||
| #endif | ||
| #if wxUSE_MEDIACTRL | ||
| #pragma comment(lib,"wxmsw28d_media") | ||
| #endif | ||
| #if wxUSE_ODBC | ||
| #pragma comment(lib,"wxbase28d_odbc") | ||
| #endif | ||
| #endif // wxUSE_GUI | ||
| #else // release | ||
| #pragma comment(lib,"wxbase28") | ||
| #pragma comment(lib,"wxbase28_net") | ||
| #pragma comment(lib,"wxbase28_xml") | ||
| #if wxUSE_REGEX | ||
| #pragma comment(lib,"wxregex") | ||
| #endif | ||
|
|
||
| #if wxUSE_GUI | ||
| #if wxUSE_XML | ||
| #pragma comment(lib,"wxexpat") | ||
| #endif | ||
| #if wxUSE_LIBJPEG | ||
| #pragma comment(lib,"wxjpeg") | ||
| #endif | ||
| #if wxUSE_LIBPNG | ||
| #pragma comment(lib,"wxpng") | ||
| #endif | ||
| #if wxUSE_LIBTIFF | ||
| #pragma comment(lib,"wxtiff") | ||
| #endif | ||
| #if wxUSE_ZLIB | ||
| #pragma comment(lib,"wxzlib") | ||
| #endif | ||
| #pragma comment(lib,"wxmsw28_adv") | ||
| #pragma comment(lib,"wxmsw28_core") | ||
| #pragma comment(lib,"wxmsw28_html") | ||
| #if wxUSE_GLCANVAS | ||
| #pragma comment(lib,"wxmsw28_gl") | ||
| #endif | ||
| #if wxUSE_DEBUGREPORT | ||
| #pragma comment(lib,"wxmsw28_qa") | ||
| #endif | ||
| #if wxUSE_XRC | ||
| #pragma comment(lib,"wxmsw28_xrc") | ||
| #endif | ||
| #if wxUSE_AUI | ||
| #pragma comment(lib,"wxmsw28_aui") | ||
| #endif | ||
| #if wxUSE_RICHTEXT | ||
| #pragma comment(lib,"wxmsw28_richtext") | ||
| #endif | ||
| #if wxUSE_MEDIACTRL | ||
| #pragma comment(lib,"wxmsw28_media") | ||
| #endif | ||
| #if wxUSE_ODBC | ||
| #pragma comment(lib,"wxbase28_odbc") | ||
| #endif | ||
| #endif // wxUSE_GUI | ||
| #endif // debug/release | ||
| #endif // _UNICODE/!_UNICODE | ||
| #else | ||
| #error "This file should only be included when using Microsoft Visual C++" | ||
| #endif | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,155 @@ | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/aboutdlg.h | ||
| // Purpose: declaration of wxAboutDialog class | ||
| // Author: Vadim Zeitlin | ||
| // Created: 2006-10-07 | ||
| // RCS-ID: $Id: aboutdlg.h 41813 2006-10-09 16:56:18Z RD $ | ||
| // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org> | ||
| // Licence: wxWindows licence | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ABOUTDLG_H_ | ||
| #define _WX_ABOUTDLG_H_ | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_ABOUTDLG | ||
|
|
||
| #include "wx/app.h" | ||
| #include "wx/icon.h" | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // wxAboutDialogInfo: information shown by the standard "About" dialog | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLIMPEXP_ADV wxAboutDialogInfo | ||
| { | ||
| public: | ||
| // all fields are initially uninitialized | ||
| wxAboutDialogInfo() { } | ||
|
|
||
| // accessors for various simply fields | ||
| // ----------------------------------- | ||
|
|
||
| // name of the program, if not used defaults wxApp::GetAppName() | ||
| void SetName(const wxString& name) { m_name = name; } | ||
| wxString GetName() const | ||
| { return m_name.empty() ? wxTheApp->GetAppName() : m_name; } | ||
|
|
||
| // version of the program, in free format (but without "version" word) | ||
| void SetVersion(const wxString& version) { m_version = version; } | ||
| bool HasVersion() const { return !m_version.empty(); } | ||
| wxString GetVersion() const { return m_version; } | ||
|
|
||
| // brief, but possibly multiline, description of the program | ||
| void SetDescription(const wxString& desc) { m_description = desc; } | ||
| bool HasDescription() const { return !m_description.empty(); } | ||
| wxString GetDescription() const { return m_description; } | ||
|
|
||
| // short string containing the program copyright information | ||
| void SetCopyright(const wxString& copyright) { m_copyright = copyright; } | ||
| bool HasCopyright() const { return !m_copyright.empty(); } | ||
| wxString GetCopyright() const { return m_copyright; } | ||
|
|
||
| // long, multiline string containing the text of the program licence | ||
| void SetLicence(const wxString& licence) { m_licence = licence; } | ||
| void SetLicense(const wxString& licence) { m_licence = licence; } | ||
| bool HasLicence() const { return !m_licence.empty(); } | ||
| wxString GetLicence() const { return m_licence; } | ||
|
|
||
| // icon to be shown in the dialog, defaults to the main frame icon | ||
| void SetIcon(const wxIcon& icon) { m_icon = icon; } | ||
| bool HasIcon() const { return m_icon.Ok(); } | ||
| wxIcon GetIcon() const; | ||
|
|
||
| // web site for the program and its description (defaults to URL itself if | ||
| // empty) | ||
| void SetWebSite(const wxString& url, const wxString& desc = wxEmptyString) | ||
| { | ||
| m_url = url; | ||
| m_urlDesc = desc.empty() ? url : desc; | ||
| } | ||
|
|
||
| bool HasWebSite() const { return !m_url.empty(); } | ||
|
|
||
| wxString GetWebSiteURL() const { return m_url; } | ||
| wxString GetWebSiteDescription() const { return m_urlDesc; } | ||
|
|
||
| // accessors for the arrays | ||
| // ------------------------ | ||
|
|
||
| // the list of developers of the program | ||
| void SetDevelopers(const wxArrayString& developers) | ||
| { m_developers = developers; } | ||
| void AddDeveloper(const wxString& developer) | ||
| { m_developers.push_back(developer); } | ||
|
|
||
| bool HasDevelopers() const { return !m_developers.empty(); } | ||
| const wxArrayString& GetDevelopers() const { return m_developers; } | ||
|
|
||
| // the list of documentation writers | ||
| void SetDocWriters(const wxArrayString& docwriters) | ||
| { m_docwriters = docwriters; } | ||
| void AddDocWriter(const wxString& docwriter) | ||
| { m_docwriters.push_back(docwriter); } | ||
|
|
||
| bool HasDocWriters() const { return !m_docwriters.empty(); } | ||
| const wxArrayString& GetDocWriters() const { return m_docwriters; } | ||
|
|
||
| // the list of artists for the program art | ||
| void SetArtists(const wxArrayString& artists) | ||
| { m_artists = artists; } | ||
| void AddArtist(const wxString& artist) | ||
| { m_artists.push_back(artist); } | ||
|
|
||
| bool HasArtists() const { return !m_artists.empty(); } | ||
| const wxArrayString& GetArtists() const { return m_artists; } | ||
|
|
||
| // the list of translators | ||
| void SetTranslators(const wxArrayString& translators) | ||
| { m_translators = translators; } | ||
| void AddTranslator(const wxString& translator) | ||
| { m_translators.push_back(translator); } | ||
|
|
||
| bool HasTranslators() const { return !m_translators.empty(); } | ||
| const wxArrayString& GetTranslators() const { return m_translators; } | ||
|
|
||
|
|
||
| // implementation only | ||
| // ------------------- | ||
|
|
||
| // "simple" about dialog shows only textual information (with possibly | ||
| // default icon but without hyperlink nor any long texts such as the | ||
| // licence text) | ||
| bool IsSimple() const | ||
| { return !HasWebSite() && !HasIcon() && !HasLicence(); } | ||
|
|
||
| // get the description and credits (i.e. all of developers, doc writers, | ||
| // artists and translators) as a one long multiline string | ||
| wxString GetDescriptionAndCredits() const; | ||
|
|
||
| private: | ||
| wxString m_name, | ||
| m_version, | ||
| m_description, | ||
| m_copyright, | ||
| m_licence; | ||
|
|
||
| wxIcon m_icon; | ||
|
|
||
| wxString m_url, | ||
| m_urlDesc; | ||
|
|
||
| wxArrayString m_developers, | ||
| m_docwriters, | ||
| m_artists, | ||
| m_translators; | ||
| }; | ||
|
|
||
| // functions to show the about dialog box | ||
| WXDLLIMPEXP_ADV void wxAboutBox(const wxAboutDialogInfo& info); | ||
|
|
||
| #endif // wxUSE_ABOUTDLG | ||
|
|
||
| #endif // _WX_ABOUTDLG_H_ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,171 @@ | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/accel.h | ||
| // Purpose: wxAcceleratorEntry and wxAcceleratorTable classes | ||
| // Author: Julian Smart, Robert Roebling, Vadim Zeitlin | ||
| // Modified by: | ||
| // Created: 31.05.01 (extracted from other files) | ||
| // RCS-ID: $Id: accel.h 49563 2007-10-31 20:46:21Z VZ $ | ||
| // Copyright: (c) wxWidgets team | ||
| // Licence: wxWindows licence | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ACCEL_H_BASE_ | ||
| #define _WX_ACCEL_H_BASE_ | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_ACCEL | ||
|
|
||
| #include "wx/object.h" | ||
|
|
||
| class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable; | ||
| class WXDLLIMPEXP_FWD_CORE wxMenuItem; | ||
| class WXDLLIMPEXP_FWD_CORE wxKeyEvent; | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // constants | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| // wxAcceleratorEntry flags | ||
| enum | ||
| { | ||
| wxACCEL_NORMAL = 0x0000, // no modifiers | ||
| wxACCEL_ALT = 0x0001, // hold Alt key down | ||
| wxACCEL_CTRL = 0x0002, // hold Ctrl key down | ||
| wxACCEL_SHIFT = 0x0004, // hold Shift key down | ||
| #if defined(__WXMAC__) || defined(__WXCOCOA__) | ||
| wxACCEL_CMD = 0x0008 // Command key on OS X | ||
| #else | ||
| wxACCEL_CMD = wxACCEL_CTRL | ||
| #endif | ||
| }; | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // an entry in wxAcceleratorTable corresponds to one accelerator | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLEXPORT wxAcceleratorEntry | ||
| { | ||
| public: | ||
| wxAcceleratorEntry(int flags = 0, int keyCode = 0, int cmd = 0, | ||
| wxMenuItem *item = NULL) | ||
| : m_flags(flags) | ||
| , m_keyCode(keyCode) | ||
| , m_command(cmd) | ||
| , m_item(item) | ||
| { } | ||
|
|
||
| wxAcceleratorEntry(const wxAcceleratorEntry& entry) | ||
| : m_flags(entry.m_flags) | ||
| , m_keyCode(entry.m_keyCode) | ||
| , m_command(entry.m_command) | ||
| , m_item(entry.m_item) | ||
| { } | ||
|
|
||
| // create accelerator corresponding to the specified string, return NULL if | ||
| // string couldn't be parsed or a pointer to be deleted by the caller | ||
| static wxAcceleratorEntry *Create(const wxString& str); | ||
|
|
||
| wxAcceleratorEntry& operator=(const wxAcceleratorEntry& entry) | ||
| { | ||
| Set(entry.m_flags, entry.m_keyCode, entry.m_command, entry.m_item); | ||
| return *this; | ||
| } | ||
|
|
||
| void Set(int flags, int keyCode, int cmd, wxMenuItem *item = NULL) | ||
| { | ||
| m_flags = flags; | ||
| m_keyCode = keyCode; | ||
| m_command = cmd; | ||
| m_item = item; | ||
| } | ||
|
|
||
| void SetMenuItem(wxMenuItem *item) { m_item = item; } | ||
|
|
||
| int GetFlags() const { return m_flags; } | ||
| int GetKeyCode() const { return m_keyCode; } | ||
| int GetCommand() const { return m_command; } | ||
|
|
||
| wxMenuItem *GetMenuItem() const { return m_item; } | ||
|
|
||
| bool operator==(const wxAcceleratorEntry& entry) const | ||
| { | ||
| return m_flags == entry.m_flags && | ||
| m_keyCode == entry.m_keyCode && | ||
| m_command == entry.m_command && | ||
| m_item == entry.m_item; | ||
| } | ||
|
|
||
| bool operator!=(const wxAcceleratorEntry& entry) const | ||
| { return !(*this == entry); } | ||
|
|
||
| #if defined(__WXMOTIF__) | ||
| // Implementation use only | ||
| bool MatchesEvent(const wxKeyEvent& event) const; | ||
| #endif | ||
|
|
||
| bool IsOk() const | ||
| { | ||
| return m_flags != 0 && | ||
| m_keyCode != 0; | ||
| } | ||
|
|
||
|
|
||
| // string <-> wxAcceleratorEntry conversion | ||
| // ---------------------------------------- | ||
|
|
||
| // returns a wxString for the this accelerator. | ||
| // this function formats it using the <flags>-<keycode> format | ||
| // where <flags> maybe a hyphen-separed list of "shift|alt|ctrl" | ||
| wxString ToString() const; | ||
|
|
||
| // returns true if the given string correctly initialized this object | ||
| // (i.e. if IsOk() returns true after this call) | ||
| bool FromString(const wxString& str); | ||
|
|
||
|
|
||
| private: | ||
| // common part of Create() and FromString() | ||
| static bool ParseAccel(const wxString& str, int *flags, int *keycode); | ||
|
|
||
|
|
||
| int m_flags; // combination of wxACCEL_XXX constants | ||
| int m_keyCode; // ASCII or virtual keycode | ||
| int m_command; // Command id to generate | ||
|
|
||
| // the menu item this entry corresponds to, may be NULL | ||
| wxMenuItem *m_item; | ||
|
|
||
| // for compatibility with old code, use accessors now! | ||
| friend class WXDLLEXPORT wxMenu; | ||
| }; | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // include wxAcceleratorTable class declaration, it is only used by the library | ||
| // and so doesn't have any published user visible interface | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| #if defined(__WXUNIVERSAL__) | ||
| #include "wx/generic/accel.h" | ||
| #elif defined(__WXMSW__) | ||
| #include "wx/msw/accel.h" | ||
| #elif defined(__WXMOTIF__) | ||
| #include "wx/motif/accel.h" | ||
| #elif defined(__WXGTK20__) | ||
| #include "wx/gtk/accel.h" | ||
| #elif defined(__WXGTK__) | ||
| #include "wx/gtk1/accel.h" | ||
| #elif defined(__WXMAC__) | ||
| #include "wx/mac/accel.h" | ||
| #elif defined(__WXCOCOA__) | ||
| #include "wx/generic/accel.h" | ||
| #elif defined(__WXPM__) | ||
| #include "wx/os2/accel.h" | ||
| #endif | ||
|
|
||
| extern WXDLLEXPORT_DATA(wxAcceleratorTable) wxNullAcceleratorTable; | ||
|
|
||
| #endif // wxUSE_ACCEL | ||
|
|
||
| #endif | ||
| // _WX_ACCEL_H_BASE_ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,377 @@ | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/access.h | ||
| // Purpose: Accessibility classes | ||
| // Author: Julian Smart | ||
| // Modified by: | ||
| // Created: 2003-02-12 | ||
| // RCS-ID: $Id: access.h 43047 2006-11-04 17:43:58Z VZ $ | ||
| // Copyright: (c) Julian Smart | ||
| // Licence: wxWindows licence | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ACCESSBASE_H_ | ||
| #define _WX_ACCESSBASE_H_ | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // headers we have to include here | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_ACCESSIBILITY | ||
|
|
||
| #include "wx/variant.h" | ||
|
|
||
| typedef enum | ||
| { | ||
| wxACC_FAIL, | ||
| wxACC_FALSE, | ||
| wxACC_OK, | ||
| wxACC_NOT_IMPLEMENTED, | ||
| wxACC_NOT_SUPPORTED | ||
| } wxAccStatus; | ||
|
|
||
| // Child ids are integer identifiers from 1 up. | ||
| // So zero represents 'this' object. | ||
| #define wxACC_SELF 0 | ||
|
|
||
| // Navigation constants | ||
|
|
||
| typedef enum | ||
| { | ||
| wxNAVDIR_DOWN, | ||
| wxNAVDIR_FIRSTCHILD, | ||
| wxNAVDIR_LASTCHILD, | ||
| wxNAVDIR_LEFT, | ||
| wxNAVDIR_NEXT, | ||
| wxNAVDIR_PREVIOUS, | ||
| wxNAVDIR_RIGHT, | ||
| wxNAVDIR_UP | ||
| } wxNavDir; | ||
|
|
||
| // Role constants | ||
|
|
||
| typedef enum { | ||
| wxROLE_NONE, | ||
| wxROLE_SYSTEM_ALERT, | ||
| wxROLE_SYSTEM_ANIMATION, | ||
| wxROLE_SYSTEM_APPLICATION, | ||
| wxROLE_SYSTEM_BORDER, | ||
| wxROLE_SYSTEM_BUTTONDROPDOWN, | ||
| wxROLE_SYSTEM_BUTTONDROPDOWNGRID, | ||
| wxROLE_SYSTEM_BUTTONMENU, | ||
| wxROLE_SYSTEM_CARET, | ||
| wxROLE_SYSTEM_CELL, | ||
| wxROLE_SYSTEM_CHARACTER, | ||
| wxROLE_SYSTEM_CHART, | ||
| wxROLE_SYSTEM_CHECKBUTTON, | ||
| wxROLE_SYSTEM_CLIENT, | ||
| wxROLE_SYSTEM_CLOCK, | ||
| wxROLE_SYSTEM_COLUMN, | ||
| wxROLE_SYSTEM_COLUMNHEADER, | ||
| wxROLE_SYSTEM_COMBOBOX, | ||
| wxROLE_SYSTEM_CURSOR, | ||
| wxROLE_SYSTEM_DIAGRAM, | ||
| wxROLE_SYSTEM_DIAL, | ||
| wxROLE_SYSTEM_DIALOG, | ||
| wxROLE_SYSTEM_DOCUMENT, | ||
| wxROLE_SYSTEM_DROPLIST, | ||
| wxROLE_SYSTEM_EQUATION, | ||
| wxROLE_SYSTEM_GRAPHIC, | ||
| wxROLE_SYSTEM_GRIP, | ||
| wxROLE_SYSTEM_GROUPING, | ||
| wxROLE_SYSTEM_HELPBALLOON, | ||
| wxROLE_SYSTEM_HOTKEYFIELD, | ||
| wxROLE_SYSTEM_INDICATOR, | ||
| wxROLE_SYSTEM_LINK, | ||
| wxROLE_SYSTEM_LIST, | ||
| wxROLE_SYSTEM_LISTITEM, | ||
| wxROLE_SYSTEM_MENUBAR, | ||
| wxROLE_SYSTEM_MENUITEM, | ||
| wxROLE_SYSTEM_MENUPOPUP, | ||
| wxROLE_SYSTEM_OUTLINE, | ||
| wxROLE_SYSTEM_OUTLINEITEM, | ||
| wxROLE_SYSTEM_PAGETAB, | ||
| wxROLE_SYSTEM_PAGETABLIST, | ||
| wxROLE_SYSTEM_PANE, | ||
| wxROLE_SYSTEM_PROGRESSBAR, | ||
| wxROLE_SYSTEM_PROPERTYPAGE, | ||
| wxROLE_SYSTEM_PUSHBUTTON, | ||
| wxROLE_SYSTEM_RADIOBUTTON, | ||
| wxROLE_SYSTEM_ROW, | ||
| wxROLE_SYSTEM_ROWHEADER, | ||
| wxROLE_SYSTEM_SCROLLBAR, | ||
| wxROLE_SYSTEM_SEPARATOR, | ||
| wxROLE_SYSTEM_SLIDER, | ||
| wxROLE_SYSTEM_SOUND, | ||
| wxROLE_SYSTEM_SPINBUTTON, | ||
| wxROLE_SYSTEM_STATICTEXT, | ||
| wxROLE_SYSTEM_STATUSBAR, | ||
| wxROLE_SYSTEM_TABLE, | ||
| wxROLE_SYSTEM_TEXT, | ||
| wxROLE_SYSTEM_TITLEBAR, | ||
| wxROLE_SYSTEM_TOOLBAR, | ||
| wxROLE_SYSTEM_TOOLTIP, | ||
| wxROLE_SYSTEM_WHITESPACE, | ||
| wxROLE_SYSTEM_WINDOW | ||
| } wxAccRole; | ||
|
|
||
| // Object types | ||
|
|
||
| typedef enum { | ||
| wxOBJID_WINDOW = 0x00000000, | ||
| wxOBJID_SYSMENU = 0xFFFFFFFF, | ||
| wxOBJID_TITLEBAR = 0xFFFFFFFE, | ||
| wxOBJID_MENU = 0xFFFFFFFD, | ||
| wxOBJID_CLIENT = 0xFFFFFFFC, | ||
| wxOBJID_VSCROLL = 0xFFFFFFFB, | ||
| wxOBJID_HSCROLL = 0xFFFFFFFA, | ||
| wxOBJID_SIZEGRIP = 0xFFFFFFF9, | ||
| wxOBJID_CARET = 0xFFFFFFF8, | ||
| wxOBJID_CURSOR = 0xFFFFFFF7, | ||
| wxOBJID_ALERT = 0xFFFFFFF6, | ||
| wxOBJID_SOUND = 0xFFFFFFF5 | ||
| } wxAccObject; | ||
|
|
||
| // Accessible states | ||
|
|
||
| #define wxACC_STATE_SYSTEM_ALERT_HIGH 0x00000001 | ||
| #define wxACC_STATE_SYSTEM_ALERT_MEDIUM 0x00000002 | ||
| #define wxACC_STATE_SYSTEM_ALERT_LOW 0x00000004 | ||
| #define wxACC_STATE_SYSTEM_ANIMATED 0x00000008 | ||
| #define wxACC_STATE_SYSTEM_BUSY 0x00000010 | ||
| #define wxACC_STATE_SYSTEM_CHECKED 0x00000020 | ||
| #define wxACC_STATE_SYSTEM_COLLAPSED 0x00000040 | ||
| #define wxACC_STATE_SYSTEM_DEFAULT 0x00000080 | ||
| #define wxACC_STATE_SYSTEM_EXPANDED 0x00000100 | ||
| #define wxACC_STATE_SYSTEM_EXTSELECTABLE 0x00000200 | ||
| #define wxACC_STATE_SYSTEM_FLOATING 0x00000400 | ||
| #define wxACC_STATE_SYSTEM_FOCUSABLE 0x00000800 | ||
| #define wxACC_STATE_SYSTEM_FOCUSED 0x00001000 | ||
| #define wxACC_STATE_SYSTEM_HOTTRACKED 0x00002000 | ||
| #define wxACC_STATE_SYSTEM_INVISIBLE 0x00004000 | ||
| #define wxACC_STATE_SYSTEM_MARQUEED 0x00008000 | ||
| #define wxACC_STATE_SYSTEM_MIXED 0x00010000 | ||
| #define wxACC_STATE_SYSTEM_MULTISELECTABLE 0x00020000 | ||
| #define wxACC_STATE_SYSTEM_OFFSCREEN 0x00040000 | ||
| #define wxACC_STATE_SYSTEM_PRESSED 0x00080000 | ||
| #define wxACC_STATE_SYSTEM_PROTECTED 0x00100000 | ||
| #define wxACC_STATE_SYSTEM_READONLY 0x00200000 | ||
| #define wxACC_STATE_SYSTEM_SELECTABLE 0x00400000 | ||
| #define wxACC_STATE_SYSTEM_SELECTED 0x00800000 | ||
| #define wxACC_STATE_SYSTEM_SELFVOICING 0x01000000 | ||
| #define wxACC_STATE_SYSTEM_UNAVAILABLE 0x02000000 | ||
|
|
||
| // Selection flag | ||
|
|
||
| typedef enum | ||
| { | ||
| wxACC_SEL_NONE = 0, | ||
| wxACC_SEL_TAKEFOCUS = 1, | ||
| wxACC_SEL_TAKESELECTION = 2, | ||
| wxACC_SEL_EXTENDSELECTION = 4, | ||
| wxACC_SEL_ADDSELECTION = 8, | ||
| wxACC_SEL_REMOVESELECTION = 16 | ||
| } wxAccSelectionFlags; | ||
|
|
||
| // Accessibility event identifiers | ||
|
|
||
| #define wxACC_EVENT_SYSTEM_SOUND 0x0001 | ||
| #define wxACC_EVENT_SYSTEM_ALERT 0x0002 | ||
| #define wxACC_EVENT_SYSTEM_FOREGROUND 0x0003 | ||
| #define wxACC_EVENT_SYSTEM_MENUSTART 0x0004 | ||
| #define wxACC_EVENT_SYSTEM_MENUEND 0x0005 | ||
| #define wxACC_EVENT_SYSTEM_MENUPOPUPSTART 0x0006 | ||
| #define wxACC_EVENT_SYSTEM_MENUPOPUPEND 0x0007 | ||
| #define wxACC_EVENT_SYSTEM_CAPTURESTART 0x0008 | ||
| #define wxACC_EVENT_SYSTEM_CAPTUREEND 0x0009 | ||
| #define wxACC_EVENT_SYSTEM_MOVESIZESTART 0x000A | ||
| #define wxACC_EVENT_SYSTEM_MOVESIZEEND 0x000B | ||
| #define wxACC_EVENT_SYSTEM_CONTEXTHELPSTART 0x000C | ||
| #define wxACC_EVENT_SYSTEM_CONTEXTHELPEND 0x000D | ||
| #define wxACC_EVENT_SYSTEM_DRAGDROPSTART 0x000E | ||
| #define wxACC_EVENT_SYSTEM_DRAGDROPEND 0x000F | ||
| #define wxACC_EVENT_SYSTEM_DIALOGSTART 0x0010 | ||
| #define wxACC_EVENT_SYSTEM_DIALOGEND 0x0011 | ||
| #define wxACC_EVENT_SYSTEM_SCROLLINGSTART 0x0012 | ||
| #define wxACC_EVENT_SYSTEM_SCROLLINGEND 0x0013 | ||
| #define wxACC_EVENT_SYSTEM_SWITCHSTART 0x0014 | ||
| #define wxACC_EVENT_SYSTEM_SWITCHEND 0x0015 | ||
| #define wxACC_EVENT_SYSTEM_MINIMIZESTART 0x0016 | ||
| #define wxACC_EVENT_SYSTEM_MINIMIZEEND 0x0017 | ||
| #define wxACC_EVENT_OBJECT_CREATE 0x8000 | ||
| #define wxACC_EVENT_OBJECT_DESTROY 0x8001 | ||
| #define wxACC_EVENT_OBJECT_SHOW 0x8002 | ||
| #define wxACC_EVENT_OBJECT_HIDE 0x8003 | ||
| #define wxACC_EVENT_OBJECT_REORDER 0x8004 | ||
| #define wxACC_EVENT_OBJECT_FOCUS 0x8005 | ||
| #define wxACC_EVENT_OBJECT_SELECTION 0x8006 | ||
| #define wxACC_EVENT_OBJECT_SELECTIONADD 0x8007 | ||
| #define wxACC_EVENT_OBJECT_SELECTIONREMOVE 0x8008 | ||
| #define wxACC_EVENT_OBJECT_SELECTIONWITHIN 0x8009 | ||
| #define wxACC_EVENT_OBJECT_STATECHANGE 0x800A | ||
| #define wxACC_EVENT_OBJECT_LOCATIONCHANGE 0x800B | ||
| #define wxACC_EVENT_OBJECT_NAMECHANGE 0x800C | ||
| #define wxACC_EVENT_OBJECT_DESCRIPTIONCHANGE 0x800D | ||
| #define wxACC_EVENT_OBJECT_VALUECHANGE 0x800E | ||
| #define wxACC_EVENT_OBJECT_PARENTCHANGE 0x800F | ||
| #define wxACC_EVENT_OBJECT_HELPCHANGE 0x8010 | ||
| #define wxACC_EVENT_OBJECT_DEFACTIONCHANGE 0x8011 | ||
| #define wxACC_EVENT_OBJECT_ACCELERATORCHANGE 0x8012 | ||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // wxAccessible | ||
| // All functions return an indication of success, failure, or not implemented. | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLEXPORT wxAccessible; | ||
| class WXDLLEXPORT wxWindow; | ||
| class WXDLLEXPORT wxPoint; | ||
| class WXDLLEXPORT wxRect; | ||
| class WXDLLEXPORT wxAccessibleBase : public wxObject | ||
| { | ||
| DECLARE_NO_COPY_CLASS(wxAccessibleBase) | ||
|
|
||
| public: | ||
| wxAccessibleBase(wxWindow* win): m_window(win) {} | ||
| virtual ~wxAccessibleBase() {} | ||
|
|
||
| // Overridables | ||
|
|
||
| // Can return either a child object, or an integer | ||
| // representing the child element, starting from 1. | ||
| // pt is in screen coordinates. | ||
| virtual wxAccStatus HitTest(const wxPoint& WXUNUSED(pt), int* WXUNUSED(childId), wxAccessible** WXUNUSED(childObject)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns the rectangle for this object (id = 0) or a child element (id > 0). | ||
| // rect is in screen coordinates. | ||
| virtual wxAccStatus GetLocation(wxRect& WXUNUSED(rect), int WXUNUSED(elementId)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Navigates from fromId to toId/toObject. | ||
| virtual wxAccStatus Navigate(wxNavDir WXUNUSED(navDir), int WXUNUSED(fromId), | ||
| int* WXUNUSED(toId), wxAccessible** WXUNUSED(toObject)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the name of the specified object. | ||
| virtual wxAccStatus GetName(int WXUNUSED(childId), wxString* WXUNUSED(name)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the number of children. | ||
| virtual wxAccStatus GetChildCount(int* WXUNUSED(childCount)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the specified child (starting from 1). | ||
| // If *child is NULL and return value is wxACC_OK, | ||
| // this means that the child is a simple element and | ||
| // not an accessible object. | ||
| virtual wxAccStatus GetChild(int WXUNUSED(childId), wxAccessible** WXUNUSED(child)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the parent, or NULL. | ||
| virtual wxAccStatus GetParent(wxAccessible** WXUNUSED(parent)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Performs the default action. childId is 0 (the action for this object) | ||
| // or > 0 (the action for a child). | ||
| // Return wxACC_NOT_SUPPORTED if there is no default action for this | ||
| // window (e.g. an edit control). | ||
| virtual wxAccStatus DoDefaultAction(int WXUNUSED(childId)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the default action for this object (0) or > 0 (the action for a child). | ||
| // Return wxACC_OK even if there is no action. actionName is the action, or the empty | ||
| // string if there is no action. | ||
| // The retrieved string describes the action that is performed on an object, | ||
| // not what the object does as a result. For example, a toolbar button that prints | ||
| // a document has a default action of "Press" rather than "Prints the current document." | ||
| virtual wxAccStatus GetDefaultAction(int WXUNUSED(childId), wxString* WXUNUSED(actionName)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns the description for this object or a child. | ||
| virtual wxAccStatus GetDescription(int WXUNUSED(childId), wxString* WXUNUSED(description)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns help text for this object or a child, similar to tooltip text. | ||
| virtual wxAccStatus GetHelpText(int WXUNUSED(childId), wxString* WXUNUSED(helpText)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns the keyboard shortcut for this object or child. | ||
| // Return e.g. ALT+K | ||
| virtual wxAccStatus GetKeyboardShortcut(int WXUNUSED(childId), wxString* WXUNUSED(shortcut)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns a role constant. | ||
| virtual wxAccStatus GetRole(int WXUNUSED(childId), wxAccRole* WXUNUSED(role)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns a state constant. | ||
| virtual wxAccStatus GetState(int WXUNUSED(childId), long* WXUNUSED(state)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Returns a localized string representing the value for the object | ||
| // or child. | ||
| virtual wxAccStatus GetValue(int WXUNUSED(childId), wxString* WXUNUSED(strValue)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Selects the object or child. | ||
| virtual wxAccStatus Select(int WXUNUSED(childId), wxAccSelectionFlags WXUNUSED(selectFlags)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| // Gets the window with the keyboard focus. | ||
| // If childId is 0 and child is NULL, no object in | ||
| // this subhierarchy has the focus. | ||
| // If this object has the focus, child should be 'this'. | ||
| virtual wxAccStatus GetFocus(int* WXUNUSED(childId), wxAccessible** WXUNUSED(child)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
|
|
||
| #if wxUSE_VARIANT | ||
| // Gets a variant representing the selected children | ||
| // of this object. | ||
| // Acceptable values: | ||
| // - a null variant (IsNull() returns TRUE) | ||
| // - a list variant (GetType() == wxT("list")) | ||
| // - an integer representing the selected child element, | ||
| // or 0 if this object is selected (GetType() == wxT("long")) | ||
| // - a "void*" pointer to a wxAccessible child object | ||
| virtual wxAccStatus GetSelections(wxVariant* WXUNUSED(selections)) | ||
| { return wxACC_NOT_IMPLEMENTED; } | ||
| #endif // wxUSE_VARIANT | ||
|
|
||
| // Accessors | ||
|
|
||
| // Returns the window associated with this object. | ||
|
|
||
| wxWindow* GetWindow() { return m_window; } | ||
|
|
||
| // Sets the window associated with this object. | ||
|
|
||
| void SetWindow(wxWindow* window) { m_window = window; } | ||
|
|
||
| // Operations | ||
|
|
||
| // Each platform's implementation must define this | ||
| // static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType, | ||
| // int objectId); | ||
|
|
||
| private: | ||
|
|
||
| // Data members | ||
|
|
||
| wxWindow* m_window; | ||
| }; | ||
|
|
||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // now include the declaration of the real class | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| #if defined(__WXMSW__) | ||
| #include "wx/msw/ole/access.h" | ||
| #endif | ||
|
|
||
| #endif // wxUSE_ACCESSIBILITY | ||
|
|
||
| #endif // _WX_ACCESSBASE_H_ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
| // Name: include/wx/afterstd.h | ||
| // Purpose: #include after STL headers | ||
| // Author: Vadim Zeitlin | ||
| // Modified by: | ||
| // Created: 07/07/03 | ||
| // RCS-ID: $Id: afterstd.h 42906 2006-11-01 14:16:42Z VZ $ | ||
| // Copyright: (c) 2003 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> | ||
| // Licence: wxWindows licence | ||
| /////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| /** | ||
| See the comments in beforestd.h. | ||
| */ | ||
|
|
||
| #if defined(__WXMSW__) | ||
| #include "wx/msw/winundef.h" | ||
| #endif | ||
|
|
||
| // undo what we did in wx/beforestd.h | ||
| #if defined(__VISUALC__) && __VISUALC__ <= 1201 | ||
| // MSVC 5 does not have this | ||
| #if _MSC_VER > 1100 | ||
| // don't restore this one for VC6, it gives it in each try/catch which is a | ||
| // bit annoying to say the least | ||
| #if _MSC_VER >= 0x1300 | ||
| // unreachable code | ||
| #pragma warning(default:4702) | ||
| #endif // VC++ >= 7 | ||
|
|
||
| #pragma warning(pop) | ||
| #else | ||
| // 'expression' : signed/unsigned mismatch | ||
| #pragma warning(default:4018) | ||
|
|
||
| // 'identifier' : unreferenced formal parameter | ||
| #pragma warning(default:4100) | ||
|
|
||
| // 'conversion' : conversion from 'type1' to 'type2', | ||
| // possible loss of data | ||
| #pragma warning(default:4244) | ||
|
|
||
| // C++ language change: to explicitly specialize class template | ||
| // 'identifier' use the following syntax | ||
| #pragma warning(default:4663) | ||
| #endif | ||
| #endif | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/anidecod.h | ||
| // Purpose: wxANIDecoder, ANI reader for wxImage and wxAnimation | ||
| // Author: Francesco Montorsi | ||
| // CVS-ID: $Id: anidecod.h 45563 2007-04-21 18:17:50Z VZ $ | ||
| // Copyright: (c) 2006 Francesco Montorsi | ||
| // Licence: wxWindows licence | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ANIDECOD_H | ||
| #define _WX_ANIDECOD_H | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_STREAMS && wxUSE_ICO_CUR | ||
|
|
||
| #include "wx/stream.h" | ||
| #include "wx/image.h" | ||
| #include "wx/animdecod.h" | ||
| #include "wx/dynarray.h" | ||
|
|
||
|
|
||
| class /*WXDLLEXPORT*/ wxANIFrameInfo; | ||
|
|
||
| WX_DECLARE_EXPORTED_OBJARRAY(wxANIFrameInfo, wxANIFrameInfoArray); | ||
| WX_DECLARE_EXPORTED_OBJARRAY(wxImage, wxImageArray); | ||
|
|
||
| // -------------------------------------------------------------------------- | ||
| // wxANIDecoder class | ||
| // -------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLEXPORT wxANIDecoder : public wxAnimationDecoder | ||
| { | ||
| public: | ||
| // constructor, destructor, etc. | ||
| wxANIDecoder(); | ||
| ~wxANIDecoder(); | ||
|
|
||
|
|
||
| virtual wxSize GetFrameSize(unsigned int frame) const; | ||
| virtual wxPoint GetFramePosition(unsigned int frame) const; | ||
| virtual wxAnimationDisposal GetDisposalMethod(unsigned int frame) const; | ||
| virtual long GetDelay(unsigned int frame) const; | ||
| virtual wxColour GetTransparentColour(unsigned int frame) const; | ||
|
|
||
| // implementation of wxAnimationDecoder's pure virtuals | ||
| virtual bool CanRead( wxInputStream& stream ) const; | ||
| virtual bool Load( wxInputStream& stream ); | ||
|
|
||
| bool ConvertToImage(unsigned int frame, wxImage *image) const; | ||
|
|
||
| wxAnimationDecoder *Clone() const | ||
| { return new wxANIDecoder; } | ||
| wxAnimationType GetType() const | ||
| { return wxANIMATION_TYPE_ANI; } | ||
|
|
||
| private: | ||
| // frames stored as wxImage(s): ANI files are meant to be used mostly for animated | ||
| // cursors and thus they do not use any optimization to encode differences between | ||
| // two frames: they are just a list of images to display sequentially. | ||
| wxImageArray m_images; | ||
|
|
||
| // the info about each image stored in m_images. | ||
| // NB: m_info.GetCount() may differ from m_images.GetCount()! | ||
| wxANIFrameInfoArray m_info; | ||
|
|
||
| // this is the wxCURHandler used to load the ICON chunk of the ANI files | ||
| static wxCURHandler sm_handler; | ||
|
|
||
|
|
||
| DECLARE_NO_COPY_CLASS(wxANIDecoder) | ||
| }; | ||
|
|
||
|
|
||
| #endif // wxUSE_STREAM && wxUSE_ICO_CUR | ||
|
|
||
| #endif // _WX_ANIDECOD_H |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/animate.h | ||
| // Purpose: wxAnimation and wxAnimationCtrl | ||
| // Author: Julian Smart and Guillermo Rodriguez Garcia | ||
| // Modified by: Francesco Montorsi | ||
| // Created: 13/8/99 | ||
| // RCS-ID: $Id: animate.h 43898 2006-12-10 14:18:37Z VZ $ | ||
| // Copyright: (c) Julian Smart and Guillermo Rodriguez Garcia | ||
| // Licence: wxWindows licence | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ANIMATE_H_ | ||
| #define _WX_ANIMATE_H_ | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_ANIMATIONCTRL | ||
|
|
||
| #include "wx/animdecod.h" | ||
| #include "wx/control.h" | ||
| #include "wx/timer.h" | ||
| #include "wx/bitmap.h" | ||
|
|
||
| class WXDLLIMPEXP_ADV wxAnimation; | ||
|
|
||
| extern WXDLLIMPEXP_DATA_ADV(wxAnimation) wxNullAnimation; | ||
| extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxAnimationCtrlNameStr[]; | ||
|
|
||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // wxAnimationBase | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLIMPEXP_ADV wxAnimationBase : public wxGDIObject | ||
| { | ||
| public: | ||
| wxAnimationBase() {} | ||
|
|
||
| virtual bool IsOk() const = 0; | ||
|
|
||
| // can be -1 | ||
| virtual int GetDelay(unsigned int frame) const = 0; | ||
|
|
||
| virtual unsigned int GetFrameCount() const = 0; | ||
| virtual wxImage GetFrame(unsigned int frame) const = 0; | ||
| virtual wxSize GetSize() const = 0; | ||
|
|
||
| virtual bool LoadFile(const wxString& name, | ||
| wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; | ||
| virtual bool Load(wxInputStream& stream, | ||
| wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; | ||
|
|
||
| protected: | ||
| DECLARE_ABSTRACT_CLASS(wxAnimationBase) | ||
| }; | ||
|
|
||
|
|
||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // wxAnimationCtrlBase | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| // do not autoresize to the animation's size when SetAnimation() is called | ||
| #define wxAC_NO_AUTORESIZE (0x0010) | ||
|
|
||
| // default style does not include wxAC_NO_AUTORESIZE, that is, the control | ||
| // auto-resizes by default to fit the new animation when SetAnimation() is called | ||
| #define wxAC_DEFAULT_STYLE (wxNO_BORDER) | ||
|
|
||
| class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl | ||
| { | ||
| public: | ||
| wxAnimationCtrlBase() { } | ||
|
|
||
| // public API | ||
| virtual bool LoadFile(const wxString& filename, | ||
| wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; | ||
|
|
||
| virtual void SetAnimation(const wxAnimation &anim) = 0; | ||
| virtual wxAnimation GetAnimation() const = 0; | ||
|
|
||
| virtual bool Play() = 0; | ||
| virtual void Stop() = 0; | ||
|
|
||
| virtual bool IsPlaying() const = 0; | ||
|
|
||
| virtual void SetInactiveBitmap(const wxBitmap &bmp); | ||
|
|
||
| // always return the original bitmap set in this control | ||
| wxBitmap GetInactiveBitmap() const | ||
| { return m_bmpStatic; } | ||
|
|
||
| protected: | ||
| // the inactive bitmap as it was set by the user | ||
| wxBitmap m_bmpStatic; | ||
|
|
||
| // the inactive bitmap currently shown in the control | ||
| // (may differ in the size from m_bmpStatic) | ||
| wxBitmap m_bmpStaticReal; | ||
|
|
||
| // updates m_bmpStaticReal from m_bmpStatic if needed | ||
| virtual void UpdateStaticImage(); | ||
|
|
||
| // called by SetInactiveBitmap | ||
| virtual void DisplayStaticImage() = 0; | ||
|
|
||
| private: | ||
| DECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase) | ||
| }; | ||
|
|
||
|
|
||
| // ---------------------------------------------------------------------------- | ||
| // include the platform-specific version of the wxAnimationCtrl class | ||
| // ---------------------------------------------------------------------------- | ||
|
|
||
| #if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__) | ||
| #include "wx/gtk/animate.h" | ||
| #else | ||
| #include "wx/generic/animate.h" | ||
| #endif | ||
|
|
||
| #endif // wxUSE_ANIMATIONCTRL | ||
|
|
||
| #endif // _WX_ANIMATE_H_ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,146 @@ | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
| // Name: wx/animdecod.h | ||
| // Purpose: wxAnimationDecoder | ||
| // Author: Francesco Montorsi | ||
| // CVS-ID: $Id: animdecod.h 49563 2007-10-31 20:46:21Z VZ $ | ||
| // Copyright: (c) 2006 Francesco Montorsi | ||
| // Licence: wxWindows licence | ||
| ///////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| #ifndef _WX_ANIMDECOD_H | ||
| #define _WX_ANIMDECOD_H | ||
|
|
||
| #include "wx/defs.h" | ||
|
|
||
| #if wxUSE_STREAMS | ||
|
|
||
| #include "wx/colour.h" | ||
| #include "wx/gdicmn.h" | ||
|
|
||
| class WXDLLIMPEXP_FWD_BASE wxInputStream; | ||
| class WXDLLIMPEXP_FWD_CORE wxImage; | ||
|
|
||
| /* | ||
| Differences between a wxAnimationDecoder and a wxImageHandler: | ||
| 1) wxImageHandlers always load an input stream directly into a given wxImage | ||
| object converting from the format-specific data representation to the | ||
| wxImage native format (RGB24). | ||
| wxAnimationDecoders always load an input stream using some optimized format | ||
| to store it which is format-depedent. This allows to store a (possibly big) | ||
| animation using a format which is a good compromise between required memory | ||
| and time required to blit in on the screen. | ||
| 2) wxAnimationDecoders contain the animation data in some internal var. | ||
| That's why they derive from wxObjectRefData: they are data which can be shared. | ||
| 3) wxAnimationDecoders can be used by a wxImageHandler to retrieve a frame | ||
| in wxImage format; the viceversa cannot be done. | ||
| 4) wxAnimationDecoders are decoders only, thus do not support save features. | ||
| 5) wxAnimationDecoders are directly used by wxAnimation (generic implementation) | ||
| as wxObjectRefData while they need to be 'wrapped' by a wxImageHandler for | ||
| wxImage uses. | ||
| */ | ||
|
|
||
|
|
||
| // -------------------------------------------------------------------------- | ||
| // Constants | ||
| // -------------------------------------------------------------------------- | ||
|
|
||
| // NB: the values of these enum items are not casual but coincide with the | ||
| // GIF disposal codes. Do not change them !! | ||
| enum wxAnimationDisposal | ||
| { | ||
| // No disposal specified. The decoder is not required to take any action. | ||
| wxANIM_UNSPECIFIED = -1, | ||
|
|
||
| // Do not dispose. The graphic is to be left in place. | ||
| wxANIM_DONOTREMOVE = 0, | ||
|
|
||
| // Restore to background color. The area used by the graphic must be | ||
| // restored to the background color. | ||
| wxANIM_TOBACKGROUND = 1, | ||
|
|
||
| // Restore to previous. The decoder is required to restore the area | ||
| // overwritten by the graphic with what was there prior to rendering the graphic. | ||
| wxANIM_TOPREVIOUS = 2 | ||
| }; | ||
|
|
||
| enum wxAnimationType | ||
| { | ||
| wxANIMATION_TYPE_INVALID, | ||
| wxANIMATION_TYPE_GIF, | ||
| wxANIMATION_TYPE_ANI, | ||
|
|
||
| wxANIMATION_TYPE_ANY | ||
| }; | ||
|
|
||
|
|
||
| // -------------------------------------------------------------------------- | ||
| // wxAnimationDecoder class | ||
| // -------------------------------------------------------------------------- | ||
|
|
||
| class WXDLLEXPORT wxAnimationDecoder : public wxObjectRefData | ||
| { | ||
| public: | ||
| wxAnimationDecoder() | ||
| { | ||
| m_background = wxNullColour; | ||
| m_nFrames = 0; | ||
| } | ||
| virtual ~wxAnimationDecoder() { } | ||
|
|
||
|
|
||
| virtual bool Load( wxInputStream& stream ) = 0; | ||
| virtual bool CanRead( wxInputStream& stream ) const = 0; | ||
|
|
||
| virtual wxAnimationDecoder *Clone() const = 0; | ||
| virtual wxAnimationType GetType() const = 0; | ||
|
|
||
| // convert given frame to wxImage | ||
| virtual bool ConvertToImage(unsigned int frame, wxImage *image) const = 0; | ||
|
|
||
|
|
||
| // frame specific data getters | ||
|
|
||
| // not all frames may be of the same size; e.g. GIF allows to | ||
| // specify that between two frames only a smaller portion of the | ||
| // entire animation has changed. | ||
| virtual wxSize GetFrameSize(unsigned int frame) const = 0; | ||
|
|
||
| // the position of this frame in case it's not as big as m_szAnimation | ||
| // or wxPoint(0,0) otherwise. | ||
| virtual wxPoint GetFramePosition(unsigned int frame) const = 0; | ||
|
|
||
| // what should be done after displaying this frame. | ||
| virtual wxAnimationDisposal GetDisposalMethod(unsigned int frame) const = 0; | ||
|
|
||
| // the number of milliseconds this frame should be displayed. | ||
| // if returns -1 then the frame must be displayed forever. | ||
| virtual long GetDelay(unsigned int frame) const = 0; | ||
|
|
||
| // the transparent colour for this frame if any or wxNullColour. | ||
| virtual wxColour GetTransparentColour(unsigned int frame) const = 0; | ||
|
|
||
| // get global data | ||
| wxSize GetAnimationSize() const { return m_szAnimation; } | ||
| wxColour GetBackgroundColour() const { return m_background; } | ||
| unsigned int GetFrameCount() const { return m_nFrames; } | ||
|
|
||
| protected: | ||
| wxSize m_szAnimation; | ||
| unsigned int m_nFrames; | ||
|
|
||
| // this is the colour to use for the wxANIM_TOBACKGROUND disposal. | ||
| // if not specified by the animation, it's set to wxNullColour | ||
| wxColour m_background; | ||
| }; | ||
|
|
||
|
|
||
| #endif // wxUSE_STREAM | ||
| #endif // _WX_ANIMDECOD_H | ||
|
|