add fNav and Bomber game icons, fix/update my skins and Night skin (moved from _old to ok), Eolite small fixes for big icons support
git-svn-id: svn://kolibrios.org@7256 a494cfbc-eb01-0410-851d-a64ba20cac60
@ -166,8 +166,8 @@ pas=27
|
|||||||
fb2=29
|
fb2=29
|
||||||
|
|
||||||
[icons32]
|
[icons32]
|
||||||
<dir>=0
|
<dir>=94
|
||||||
<up>=0
|
<up>=94
|
||||||
<lot>=60
|
<lot>=60
|
||||||
txt=9
|
txt=9
|
||||||
png=70
|
png=70
|
||||||
@ -181,8 +181,8 @@ img=3
|
|||||||
xls=28
|
xls=28
|
||||||
xlsx=28
|
xlsx=28
|
||||||
pdf=73
|
pdf=73
|
||||||
wav=63
|
wav=64
|
||||||
mp3=63
|
mp3=64
|
||||||
midi=74
|
midi=74
|
||||||
mnt=90
|
mnt=90
|
||||||
avi=40
|
avi=40
|
||||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 35 KiB |
@ -13,7 +13,7 @@ uPDF=/sys/lod|*pdf* /kolibrios/media/updf,73
|
|||||||
[Misc]
|
[Misc]
|
||||||
DosBox=/kolibrios/emul/dosbox/dosbox,11
|
DosBox=/kolibrios/emul/dosbox/dosbox,11
|
||||||
Dicty=/kolibrios/utils/DICTY.KEX,79
|
Dicty=/kolibrios/utils/DICTY.KEX,79
|
||||||
fNav=/sys/File managers/fNav/fNav,45
|
fNav=/sys/File managers/fNav/fNav,93
|
||||||
Life=/kolibrios/demos/life2,13
|
Life=/kolibrios/demos/life2,13
|
||||||
Calc+=/kolibrios/utils/calcplus,4
|
Calc+=/kolibrios/utils/calcplus,4
|
||||||
TinyBasic=/kolibrios/develop/TinyBasic/TinyBasic,91
|
TinyBasic=/kolibrios/develop/TinyBasic/TinyBasic,91
|
||||||
|
@ -17,7 +17,7 @@ Loderunner=/kolibrios/games/LRL/LRL,41
|
|||||||
TheBus=/kolibrios/games/the_bus/the_bus,86
|
TheBus=/kolibrios/games/the_bus/the_bus,86
|
||||||
Mun=/kolibrios/games/mun/mun
|
Mun=/kolibrios/games/mun/mun
|
||||||
Kosilka=/sys/games/kosilka,23
|
Kosilka=/sys/games/kosilka,23
|
||||||
Bomber=/kolibrios/games/bomber/bomber,14
|
Bomber=/kolibrios/games/bomber/bomber,97
|
||||||
Invaders=/kolibrios/games/invaders
|
Invaders=/kolibrios/games/invaders
|
||||||
Tanks=/sys/games/tanks,67
|
Tanks=/sys/games/tanks,67
|
||||||
RocketForces=/sys/games/rforces
|
RocketForces=/sys/games/rforces
|
||||||
|
@ -8,23 +8,26 @@ void DrawIconByExtension(dword file_path, extension, xx, yy, fairing_color)
|
|||||||
dword icon_n;
|
dword icon_n;
|
||||||
dword selected_image;
|
dword selected_image;
|
||||||
dword default_image;
|
dword default_image;
|
||||||
|
dword default_icon;
|
||||||
|
|
||||||
if (big_icons.checked) {
|
if (big_icons.checked) {
|
||||||
icons_ini.section = "icons32";
|
icons_ini.section = "icons32";
|
||||||
selected_image = icons32_selected.image;
|
selected_image = icons32_selected.image;
|
||||||
default_image = icons32_default.image;
|
default_image = icons32_default.image;
|
||||||
|
default_icon=95;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
icons_ini.section = "icons16";
|
icons_ini.section = "icons16";
|
||||||
selected_image = icons16_selected.image;
|
selected_image = icons16_selected.image;
|
||||||
default_image = icons16_default.image;
|
default_image = icons16_default.image;
|
||||||
|
default_icon=2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extension)
|
if (extension)
|
||||||
{
|
{
|
||||||
strcpy(#ext, extension);
|
strcpy(#ext, extension);
|
||||||
strlwr(#ext);
|
strlwr(#ext);
|
||||||
icon_n = icons_ini.GetInt(#ext, 2);
|
icon_n = icons_ini.GetInt(#ext, default_icon);
|
||||||
}
|
}
|
||||||
else if (file_path)
|
else if (file_path)
|
||||||
{
|
{
|
||||||
|
@ -235,7 +235,7 @@ void BigIconsSwitch()
|
|||||||
if (big_icons.checked)
|
if (big_icons.checked)
|
||||||
{
|
{
|
||||||
icon_size=32;
|
icon_size=32;
|
||||||
files.item_h = line_height.value = 34;
|
files.item_h = line_height.value = 35;
|
||||||
if (!icons32_default.image)
|
if (!icons32_default.image)
|
||||||
{
|
{
|
||||||
Libimg_LoadImage(#icons32_default, "/sys/icons32.png");
|
Libimg_LoadImage(#icons32_default, "/sys/icons32.png");
|
||||||
|
@ -2,7 +2,7 @@ include '..\skin.inc'
|
|||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
height = bmp_center1.height,\ ; skin height
|
height = bmp_center1.height,\ ; skin height
|
||||||
margins = [9:6:37:6],\ ; margins [left:top:right:bottom]
|
margins = [9:4:37:0],\ ; margins [left:top:right:bottom]
|
||||||
colors active = [binner=0xE1E1E1:\ ; border inner color
|
colors active = [binner=0xE1E1E1:\ ; border inner color
|
||||||
bouter=0x3E3635:\ ; border outer color
|
bouter=0x3E3635:\ ; border outer color
|
||||||
bframe=0xE1E1E1],\ ; border frame color
|
bframe=0xE1E1E1],\ ; border frame color
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
delete default.skn
|
delete default.skn
|
||||||
fasm default.dtp.asm default.dtp
|
fasm default.dtp.asm default.dtp
|
||||||
fasm default.asm default.skn
|
fasm default.asm default.skn
|
||||||
|
@pause
|
Before Width: | Height: | Size: 138 B |
@ -2,7 +2,7 @@ include '..\skin.inc'
|
|||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
height = bmp_center1.height,\ ; skin height
|
height = bmp_center1.height,\ ; skin height
|
||||||
margins = [5:6:40:4],\ ; margins [left:top:right:bottom]
|
margins = [5:2:40:0],\ ; margins [left:top:right:bottom]
|
||||||
colors active = [binner=0xCACACA:\ ; border inner color
|
colors active = [binner=0xCACACA:\ ; border inner color
|
||||||
bouter=0xA1A1A1:\ ; border outer color
|
bouter=0xA1A1A1:\ ; border outer color
|
||||||
bframe=0xCACACA],\ ; border frame color
|
bframe=0xCACACA],\ ; border frame color
|
||||||
@ -12,8 +12,8 @@ SKIN_PARAMS \
|
|||||||
dtp = 'default.dtp' ; dtp colors
|
dtp = 'default.dtp' ; dtp colors
|
||||||
|
|
||||||
SKIN_BUTTONS \
|
SKIN_BUTTONS \
|
||||||
close = [-18:4][13:14],\ ; buttons coordinates
|
close = [-19:3][16:16],\ ; buttons coordinates
|
||||||
minimize = [-36:4][13:14] ; [left:top][width:height]
|
minimize = [-37:3][16:16] ; [left:top][width:height]
|
||||||
|
|
||||||
SKIN_BITMAPS \
|
SKIN_BITMAPS \
|
||||||
left active = bmp_left1,\ ; skin bitmaps pointers
|
left active = bmp_left1,\ ; skin bitmaps pointers
|
||||||
@ -24,8 +24,8 @@ SKIN_BITMAPS \
|
|||||||
base inactive = bmp_center2
|
base inactive = bmp_center2
|
||||||
|
|
||||||
BITMAP bmp_left1, 'left1.bmp' ; skin bitmaps
|
BITMAP bmp_left1, 'left1.bmp' ; skin bitmaps
|
||||||
BITMAP bmp_left2, 'left2.bmp'
|
BITMAP bmp_left2, 'left1.bmp'
|
||||||
BITMAP bmp_right1, 'right1.bmp'
|
BITMAP bmp_right1, 'right1.bmp'
|
||||||
BITMAP bmp_right2, 'right2.bmp'
|
BITMAP bmp_right2, 'right2.bmp'
|
||||||
BITMAP bmp_center1,'center1.bmp'
|
BITMAP bmp_center1,'center1.bmp'
|
||||||
BITMAP bmp_center2,'center2.bmp'
|
BITMAP bmp_center2,'center1.bmp'
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
struc system_colors
|
struc system_colors
|
||||||
{
|
{
|
||||||
.frame dd 0x006393
|
.frame dd 0x006393
|
||||||
.grab dd 0x0077b0
|
.grab dd 0x0077b0
|
||||||
.grab_button dd 0xc0c0c0
|
.work_dark dd 0xA5A5A5
|
||||||
.grab_button_text dd 0x000000
|
.work_light dd 0xE4E4E4
|
||||||
.title_text dd 0x444444
|
.title_text dd 0x444444
|
||||||
.work dd 0xCACACA
|
.work dd 0xCACACA
|
||||||
.work_button dd 0xE9E9E9
|
.work_button dd 0xE9E9E9
|
||||||
.work_button_text dd 0x000000
|
.work_button_text dd 0x000000
|
||||||
.work_text dd 0x000000
|
.work_text dd 0x000000
|
||||||
.work_graph dd 0x777777
|
.work_graph dd 0x777777
|
||||||
}
|
}
|
||||||
struct system_colors
|
struct system_colors
|
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 6.2 KiB |
@ -2,7 +2,7 @@ include '../skin.inc'
|
|||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
height = bmp_center1.height,\ ; skin height
|
height = bmp_center1.height,\ ; skin height
|
||||||
margins = [6:5:43:3],\ ; margins [left:top:right:bottom]
|
margins = [7:5:43:3],\ ; margins [left:top:right:bottom]
|
||||||
colors active = [binner=0x202020:\ ; border inner
|
colors active = [binner=0x202020:\ ; border inner
|
||||||
bouter=0x000000:\ ; border outer
|
bouter=0x000000:\ ; border outer
|
||||||
bframe=0x555555],\ ; border middle
|
bframe=0x555555],\ ; border middle
|
||||||
|
@ -2,7 +2,7 @@ include '..\skin.inc'
|
|||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
height = bmp_center1.height,\ ; skin height
|
height = bmp_center1.height,\ ; skin height
|
||||||
margins = [25:4:40:6],\ ; margins [left:top:right:bottom]
|
margins = [25:2:40:0],\ ; margins [left:top:right:bottom]
|
||||||
colors active = [binner=0xE1E1E1:\ ; border inner color
|
colors active = [binner=0xE1E1E1:\ ; border inner color
|
||||||
bouter=0x204962:\ ; border outer color
|
bouter=0x204962:\ ; border outer color
|
||||||
bframe=0xE1E1E1],\ ; border frame color
|
bframe=0xE1E1E1],\ ; border frame color
|
||||||
|
@ -2,8 +2,8 @@ struc system_colors
|
|||||||
{
|
{
|
||||||
.taskbar dd 0x586786
|
.taskbar dd 0x586786
|
||||||
.taskbar_text dd 0xFEFEFE
|
.taskbar_text dd 0xFEFEFE
|
||||||
.work_3d_dark dd 0xC0BBB4
|
.work_dark dd 0xC0BBB4
|
||||||
.work_3d_light dd 0xECE9E5
|
.work_light dd 0xECE9E5
|
||||||
.window_title dd 0x333333
|
.window_title dd 0x333333
|
||||||
.work dd 0xDDD7CF
|
.work dd 0xDDD7CF
|
||||||
.work_button dd 0x7887A6
|
.work_button dd 0x7887A6
|
||||||
|
Before Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 606 B |
BIN
skins/night/left.bmp
Normal file
After Width: | Height: | Size: 422 B |
@ -4,7 +4,7 @@ include 'skin.inc'
|
|||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
height = bmp_base.height,\ ; skin height
|
height = bmp_base.height,\ ; skin height
|
||||||
margins = [5:1:37:1],\ ; margins [left:top:right:bottom]
|
margins = [5:4:37:0],\ ; margins [left:top:right:bottom]
|
||||||
colors active = [binner=0x000000:\ ; border inner color
|
colors active = [binner=0x000000:\ ; border inner color
|
||||||
bouter=0x000000:\ ; border outer color
|
bouter=0x000000:\ ; border outer color
|
||||||
bframe=0x2d2d2d],\ ; border frame color
|
bframe=0x2d2d2d],\ ; border frame color
|
||||||
@ -14,8 +14,8 @@ SKIN_PARAMS \
|
|||||||
dtp = 'default.dtp' ; dtp colors
|
dtp = 'default.dtp' ; dtp colors
|
||||||
|
|
||||||
SKIN_BUTTONS \
|
SKIN_BUTTONS \
|
||||||
close = [-18:3][14:14],\ ; buttons coordinates
|
close = [-19:3][16:16],\ ; buttons coordinates
|
||||||
minimize = [-35:3][14:14] ; [left:top][width:height]
|
minimize = [-36:3][16:16] ; [left:top][width:height]
|
||||||
|
|
||||||
SKIN_BITMAPS \
|
SKIN_BITMAPS \
|
||||||
left active = bmp_left,\ ; skin bitmaps pointers
|
left active = bmp_left,\ ; skin bitmaps pointers
|
||||||
@ -28,6 +28,6 @@ SKIN_BITMAPS \
|
|||||||
BITMAP bmp_left ,'left.bmp' ; skin bitmaps
|
BITMAP bmp_left ,'left.bmp' ; skin bitmaps
|
||||||
BITMAP bmp_oper ,'oper.bmp'
|
BITMAP bmp_oper ,'oper.bmp'
|
||||||
BITMAP bmp_base ,'base.bmp'
|
BITMAP bmp_base ,'base.bmp'
|
||||||
BITMAP bmp_left1,'left_1.bmp'
|
BITMAP bmp_left1,'left.bmp'
|
||||||
BITMAP bmp_oper1,'oper_1.bmp'
|
BITMAP bmp_oper1,'oper_1.bmp'
|
||||||
BITMAP bmp_base1,'base_1.bmp'
|
BITMAP bmp_base1,'base.bmp'
|
BIN
skins/night/oper.bmp
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
skins/night/oper_1.bmp
Normal file
After Width: | Height: | Size: 2.6 KiB |
@ -8,6 +8,7 @@ skinlist = {
|
|||||||
"Leency/Shkvorka/Shkvorka.skn",
|
"Leency/Shkvorka/Shkvorka.skn",
|
||||||
"Leency/Yeah/Yeah.skn",
|
"Leency/Yeah/Yeah.skn",
|
||||||
"loggy/loggy.skn",
|
"loggy/loggy.skn",
|
||||||
|
"night/night.skn",
|
||||||
"Win10/Win10.skn",
|
"Win10/Win10.skn",
|
||||||
"_old/5imple Alpha/1.5imple Alpha/1.5imple Alpha.skn",
|
"_old/5imple Alpha/1.5imple Alpha/1.5imple Alpha.skn",
|
||||||
"_old/5imple Alpha/2.5imple Alpha/2.5imple Alpha.skn",
|
"_old/5imple Alpha/2.5imple Alpha/2.5imple Alpha.skn",
|
||||||
@ -111,7 +112,6 @@ skinlist = {
|
|||||||
"_old/neutral/neutral_blue/neutral_blue.skn",
|
"_old/neutral/neutral_blue/neutral_blue.skn",
|
||||||
"_old/neutral/neutral_green/neutral_green.skn",
|
"_old/neutral/neutral_green/neutral_green.skn",
|
||||||
"_old/neutral/neutral_lilac/neutral_lilac.skn",
|
"_old/neutral/neutral_lilac/neutral_lilac.skn",
|
||||||
"_old/night/night.skn",
|
|
||||||
"_old/nix/nix_big/nix_big.skn",
|
"_old/nix/nix_big/nix_big.skn",
|
||||||
"_old/nix/nix_medium/nix_medium.skn",
|
"_old/nix/nix_medium/nix_medium.skn",
|
||||||
"_old/nix/nix_small/nix_small.skn",
|
"_old/nix/nix_small/nix_small.skn",
|
||||||
|