mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 02:28:04 +02:00
moved component xpms of grids.pas to IDE
git-svn-id: trunk@3890 -
This commit is contained in:
parent
4daf7df122
commit
bc6b7d879b
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -358,6 +358,7 @@ images/components/tdatabase.ico -text svneol=unset#image/x-icon
|
||||
images/components/tdatabase.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tdatasource.ico -text svneol=unset#image/x-icon
|
||||
images/components/tdatasource.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tdrawgrid.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tedit.ico -text svneol=unset#image/x-icon
|
||||
images/components/tedit.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tfontdialog.ico -text svneol=unset#image/x-icon
|
||||
@ -427,6 +428,7 @@ images/components/tspinedit.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tstatictext.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tstatusbar.ico -text svneol=unset#image/x-icon
|
||||
images/components/tstatusbar.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/tstringgrid.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/ttimer.ico -text svneol=unset#image/x-icon
|
||||
images/components/ttimer.xpm -text svneol=native#image/x-xpixmap
|
||||
images/components/ttogglebox.ico -text svneol=unset#image/x-icon
|
||||
|
31
images/components/tdrawgrid.xpm
Normal file
31
images/components/tdrawgrid.xpm
Normal file
@ -0,0 +1,31 @@
|
||||
/* XPM */
|
||||
static char * tdrawgrid_xpm[] = {
|
||||
"22 19 9 1",
|
||||
" c None",
|
||||
". c #A4A1A4",
|
||||
"+ c #000000",
|
||||
"@ c #FFFFC5",
|
||||
"# c #838183",
|
||||
"$ c #00BF86",
|
||||
"% c #FE0A19",
|
||||
"& c #FFFFFF",
|
||||
"* c #2200FF",
|
||||
"....+.....+.....+.....",
|
||||
"....+.....+.....+.....",
|
||||
"....+.....+.....+.....",
|
||||
"++++++++++++++++++++++",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"....+@@@@@#@@@@@$@@@@@",
|
||||
"....+@@%%%%%@@@$$$@@@@",
|
||||
"+++++##%%%%%###$$$####",
|
||||
"....+&&%%%%%&&$$$$$&&&",
|
||||
"....+&&%%%%***$$$$$&&&",
|
||||
"....+&&%%%*****$$$$$&&",
|
||||
"+++++#####*****#######",
|
||||
"....+@@@@@*****@#@@@@@",
|
||||
"....+@@@@@#***@@#@@@@@",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"+++++#################",
|
||||
"....+&&&&&#&&&&&#&&&&&",
|
||||
"....+&&&&&#&&&&&#&&&&&",
|
||||
"....+&&&&&#&&&&&#&&&&&"};
|
28
images/components/tstringgrid.xpm
Normal file
28
images/components/tstringgrid.xpm
Normal file
@ -0,0 +1,28 @@
|
||||
/* XPM */
|
||||
static char * tstringgrid_xpm[] = {
|
||||
"22 19 6 1",
|
||||
" c None",
|
||||
". c #A4A1A4",
|
||||
"+ c #000000",
|
||||
"@ c #FFFFC5",
|
||||
"# c #838183",
|
||||
"$ c #FFFFFF",
|
||||
"....+.....+.....+.....",
|
||||
"....+.....+.....+.....",
|
||||
"....+.....+.....+.....",
|
||||
"++++++++++++++++++++++",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"+++++#################",
|
||||
"....+$$$$$#$$$$$#$$$$$",
|
||||
"....+$$$$$#$$$$$#$$$$$",
|
||||
"....+$$$$$#$$$$$#$$$$$",
|
||||
"+++++#################",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"....+@@@@@#@@@@@#@@@@@",
|
||||
"+++++#################",
|
||||
"....+$$$$$#$$$$$#$$$$$",
|
||||
"....+$$$$$#$$$$$#$$$$$",
|
||||
"....+$$$$$#$$$$$#$$$$$"};
|
@ -318,6 +318,20 @@ LazarusResources.Add('tdatasource','XPM',[
|
||||
+' e e e ",'#10'" e '
|
||||
+' "};'#10
|
||||
]);
|
||||
LazarusResources.Add('tdrawgrid','XPM',[
|
||||
'/* XPM */'#10'static char * tdrawgrid_xpm[] = {'#10'"22 19 9 1",'#10'" '#9'c'
|
||||
+' None",'#10'".'#9'c #A4A1A4",'#10'"+'#9'c #000000",'#10'"@'#9'c #FFFFC5",'
|
||||
+#10'"#'#9'c #838183",'#10'"$'#9'c #00BF86",'#10'"%'#9'c #FE0A19",'#10'"&'#9
|
||||
+'c #FFFFFF",'#10'"*'#9'c #2200FF",'#10'"....+.....+.....+.....",'#10'"....+.'
|
||||
+'....+.....+.....",'#10'"....+.....+.....+.....",'#10'"+++++++++++++++++++++'
|
||||
+'+",'#10'"....+@@@@@#@@@@@#@@@@@",'#10'"....+@@@@@#@@@@@$@@@@@",'#10'"....+@'
|
||||
+'@%%%%%@@@$$$@@@@",'#10'"+++++##%%%%%###$$$####",'#10'"....+&&%%%%%&&$$$$$&&'
|
||||
+'&",'#10'"....+&&%%%%***$$$$$&&&",'#10'"....+&&%%%*****$$$$$&&",'#10'"+++++#'
|
||||
+'####*****#######",'#10'"....+@@@@@*****@#@@@@@",'#10'"....+@@@@@#***@@#@@@@'
|
||||
+'@",'#10'"....+@@@@@#@@@@@#@@@@@",'#10'"+++++#################",'#10'"....+&'
|
||||
+'&&&&#&&&&&#&&&&&",'#10'"....+&&&&&#&&&&&#&&&&&",'#10'"....+&&&&&#&&&&&#&&&&'
|
||||
+'&"};'#10
|
||||
]);
|
||||
LazarusResources.Add('tedit','XPM',[
|
||||
'/* XPM */'#10'static char * tedit_xpm[] = {'#10'"23 16 157 2",'#10'" '#9'c '
|
||||
+'None",'#10'". '#9'c #929292",'#10'"+ '#9'c #747474",'#10'"@ '#9'c #818181",'
|
||||
@ -1461,6 +1475,19 @@ LazarusResources.Add('tstatusbar','XPM',[
|
||||
+'+#@+#@@.",'#10'" ++++@+++++++#@+#@+@.",'#10'" @@@@@@@@@@@@@@@@@@@.",'#10'".'
|
||||
+'...................."};'#10
|
||||
]);
|
||||
LazarusResources.Add('tstringgrid','XPM',[
|
||||
'/* XPM */'#10'static char * tstringgrid_xpm[] = {'#10'"22 19 6 1",'#10'" '#9
|
||||
+'c None",'#10'".'#9'c #A4A1A4",'#10'"+'#9'c #000000",'#10'"@'#9'c #FFFFC5",'
|
||||
+#10'"#'#9'c #838183",'#10'"$'#9'c #FFFFFF",'#10'"....+.....+.....+.....",'#10
|
||||
+'"....+.....+.....+.....",'#10'"....+.....+.....+.....",'#10'"++++++++++++++'
|
||||
+'++++++++",'#10'"....+@@@@@#@@@@@#@@@@@",'#10'"....+@@@@@#@@@@@#@@@@@",'#10
|
||||
+'"....+@@@@@#@@@@@#@@@@@",'#10'"+++++#################",'#10'"....+$$$$$#$$$'
|
||||
+'$$#$$$$$",'#10'"....+$$$$$#$$$$$#$$$$$",'#10'"....+$$$$$#$$$$$#$$$$$",'#10
|
||||
+'"+++++#################",'#10'"....+@@@@@#@@@@@#@@@@@",'#10'"....+@@@@@#@@@'
|
||||
+'@@#@@@@@",'#10'"....+@@@@@#@@@@@#@@@@@",'#10'"+++++#################",'#10
|
||||
+'"....+$$$$$#$$$$$#$$$$$",'#10'"....+$$$$$#$$$$$#$$$$$",'#10'"....+$$$$$#$$$'
|
||||
+'$$#$$$$$"};'#10
|
||||
]);
|
||||
LazarusResources.Add('ttimer','XPM',[
|
||||
'/* XPM */'#10'static char * ttimer_xpm[] = {'#10'"17 17 5 1",'#10'" '#9'c No'
|
||||
+'ne",'#10'".'#9'c #000000",'#10'"+'#9'c #FFFFFF",'#10'"@'#9'c #840000",'#10
|
||||
|
@ -2245,7 +2245,13 @@ begin
|
||||
FSelectActive:=true;
|
||||
End;
|
||||
End;
|
||||
MoveExtend(False, fSplitter.X, fSplitter.y);
|
||||
If TryMoveSelection(False, FSplitter.X, FSplitter.Y) Then Begin
|
||||
MoveExtend(False, FSplitter.X, FSplitter.Y);
|
||||
End Else begin
|
||||
// user clicked on selected cell
|
||||
// -> fire an OnSelection event
|
||||
MoveSelection;
|
||||
End;
|
||||
End Else begin
|
||||
If TryMoveSelection(False, FSplitter.X, FSplitter.Y) Then Begin
|
||||
MoveExtend(False, FSplitter.X, FSplitter.Y);
|
||||
@ -4256,38 +4262,6 @@ end;
|
||||
|
||||
|
||||
|
||||
initialization
|
||||
|
||||
LazarusResources.Add('tdrawgrid','XPM',[
|
||||
'/* XPM */'#10'static char *tdrawgrid[]={'#10'"23 23 8 1",'#10'"# c #000000",'
|
||||
+#10'"f c #0000c0",'#10'"b c #808080",'#10'". c #a0a0a0",'#10'"c c #ff0000",'
|
||||
+#10'"d c #ff00ff",'#10'"a c #ffffc0",'#10'"e c #ffffff",'#10'"....#.....#...'
|
||||
+'..#.....#",'#10'"....#.....#.....#.....#",'#10'"....#.....#.....#.....#",'
|
||||
+#10'"....#.....#.....#.....#",'#10'"#######################",'#10'"....#aaaa'
|
||||
+'abaaaaabaaaaaa",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"....#aaacccccccabaaaaa'
|
||||
+'a",'#10'"....#aaacccccccabaadaaa",'#10'"#####bbbcccccccbbbdddbb",'#10'"....'
|
||||
+'#eeecccccccebedddee",'#10'"....#eeecccccccebddddde",'#10'"....#eeecccccffff'
|
||||
+'ddddde",'#10'"....#eeeccccffffffddddd",'#10'"#####bbbbbbbffffffddddd",'#10
|
||||
+'"....#aaaaabaffffffaaaaa",'#10'"....#aaaaabaffffffaaaaa",'#10'"....#aaaaaba'
|
||||
+'affffaaaaaa",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"#####bbbbbbbbbbbbbbbbbb",'
|
||||
+#10'"....#eeeeebeeeeebeeeeee",'#10'"....#eeeeebeeeeebeeeeee",'#10'"....#eeee'
|
||||
+'ebeeeeebeeeeee"};'#10
|
||||
]);
|
||||
LazarusResources.Add('tstringgrid','XPM',[
|
||||
'/* XPM */'#10'static char *tstringgrid[]={'#10'"23 23 5 1",'#10'"# c #000000'
|
||||
+'",'#10'"b c #808080",'#10'". c #a0a0a0",'#10'"a c #ffffc0",'#10'"c c #fffff'
|
||||
+'f",'#10'"....#.....#.....#.....#",'#10'"....#.....#.....#.....#",'#10'"....'
|
||||
+'#.....#.....#.....#",'#10'"....#.....#.....#.....#",'#10'"#################'
|
||||
+'######",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"....#aaaaabaaaaabaaaaaa",'#10
|
||||
+'"....#aaaaabaaaaabaaaaaa",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"#####bbbbbbb'
|
||||
+'bbbbbbbbbbb",'#10'"....#cccccbcccccbcccccc",'#10'"....#cccccbcccccbcccccc",'
|
||||
+#10'"....#cccccbcccccbcccccc",'#10'"....#cccccbcccccbcccccc",'#10'"#####bbbb'
|
||||
+'bbbbbbbbbbbbbb",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"....#aaaaabaaaaabaaaaa'
|
||||
+'a",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"....#aaaaabaaaaabaaaaaa",'#10'"####'
|
||||
+'#bbbbbbbbbbbbbbbbbb",'#10'"....#cccccbcccccbcccccc",'#10'"....#cccccbcccccb'
|
||||
+'cccccc",'#10'"....#cccccbcccccbcccccc"};'#10
|
||||
]);
|
||||
|
||||
end.
|
||||
|
||||
{ The_Log
|
||||
|
Loading…
Reference in New Issue
Block a user