/usr/share/anyremote/cfg-data/Server-mode/layoutSetup.cfg is in anyremote-data 6.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | %
% anyremote configuration file for customization of GUI of Java client. (Server-mode)
%
% STATUS stable
% XTEST no
% SOUND no
% ENV no
% MEDIACENTER setup
GuiAppName=Main screen layout setup example
GuiAppType=Example
GuiAppBinary=true
GuiAppProtocols=Server
GuiAppDesc=Example of anyRemote Android/J2ME clients main screen layout setup.
[Protocol]=Server
(Init)=\
Include($(CfgDir)/Utils/aliases-server.cfg);
(Connect)=\
Set(title,Layout Setup);\
Set(parameter,debug,on);\
Get(screen_size);\
Set(layout,3x4,);\
Set(icons,Layout Setup,\
1,vol_down,2,mute,3,vol_up,\
4,rewind,5,play,6,forward,\
7,prev,8,stop,9,next,\
*,question,0,pause,#,no);\
Make(mode,init_setup);
[Mode]=init_setup
* *=Set(text,replace,Help,With this configuration file it is possible to setup icon size and distance beetween icons.\nPlease choose Android or J2ME);
Back=\
Set(text,close);\
Macro(M_MENU);
(EnterMode)=\
Set(status,Please choose Android or J2ME);\
Macro(M_MENU);
M_MENU=\
Set(menu,replace,Android,J2ME);\
Macro(MEDIACENTER_MENU);
Android=Make(mode,a_setup);
J2ME=Make(mode,j_setup);
[ModeEnd]
[Mode]=j_setup
(EnterMode)=\
Make(var,isize,by_value,32);\
Make(var,space,by_value,0);\
Get(icon_size);\
Get(icon_padding);\
Macro(J_MENU);
J_MENU=\
Set(menu,replace,Main,Default,16,32,48,64,96,128,Padding+,Padding-,Save Setup,Clear Setup);\
Macro(MEDIACENTER_MENU);
Main=Make(mode,init_setup);
0=Macro(Default);
1=Macro(Padding-);
3=Macro(Padding+);
Default=\
Make(var,isize,by_value,32);\
Make(var,space,by_value,0);\
Set(parameter,icon_size,$(isize));\
Get(icon_size);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
16=Make(var,isize,by_value,16);Set(parameter,icon_size,$(isize));Get(icon_size);
32=Make(var,isize,by_value,32);Set(parameter,icon_size,$(isize));Get(icon_size);
48=Make(var,isize,by_value,48);Set(parameter,icon_size,$(isize));Get(icon_size);
64=Make(var,isize,by_value,64);Set(parameter,icon_size,$(isize));Get(icon_size);
96=Make(var,isize,by_value,96);Set(parameter,icon_size,$(isize));Get(icon_size);
128=Make(var,isize,by_value,128);Set(parameter,icon_size,$(isize));Get(icon_size);
Padding+=\
Make(var,space,expr $(space) + 1);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
Padding-=\
Make(var,space,expr $(space) - 1);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
IconSize($$)=\
Make(var,isize,by_value,$(Index));\
Set(status,$(isize) / $(space));
IconPadding($$)=\
Make(var,space,by_value,$(Index));\
Set(status,$(isize) / $(space));
Save Setup=\
Make(var,dummy,touch $(TmpDir)/hook_connect;mv $(TmpDir)/hook_connect $(TmpDir)/hook_connect.old;cat $(TmpDir)/hook_connect.old|grep -v icon_size|grep -v icon_padding > $(TmpDir)/hook_connect;echo "");\
Exec(echo "Set(parameter,icon_size,$(isize))" >> $(TmpDir)/hook_connect;echo "Set(parameter,icon_padding,$(space))" >> $(TmpDir)/hook_connect);
Clear Setup=\
Exec(touch $(TmpDir)/hook_connect;mv $(TmpDir)/hook_connect $(TmpDir)/hook_connect.old;cat $(TmpDir)/hook_connect.old|grep -v icon_size|grep -v icon_padding > $(TmpDir)/hook_connect);
* *=Set(text,replace,Help,With this configuration file it is possible to setup icon size and distance beetween icons.\n0 - Defaults\n1 - Decrease Padding\n3 - Increase Padding\nTo be able to select icon size in J2ME client it needs to use J2ME client with full icons sets);
Back=\
Set(text,close);\
Macro(J_MENU);
[ModeEnd]
[Mode]=a_setup
(EnterMode)=\
Make(var,isize,by_value,32);\
Make(var,space,by_value,0);\
Get(icon_size);\
Get(icon_padding);\
Macro(A_MENU);
A_MENU=\
Set(menu,replace,Main,Default,Size+,Size-,Padding+,Padding-,Save Setup,Clear Setup);\
Macro(MEDIACENTER_MENU);
Main=Make(mode,init_setup);
0=Macro(Default);
1=Macro(Padding-);
3=Macro(Padding+);
4=Macro(Size-);
6=Macro(Size+);
Default=\
Make(var,isize,by_value,-1);\
Make(var,space,by_value,0);\
Set(parameter,icon_size,$(isize));\
Get(icon_size);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
Size+=\
Make(var,isize,expr $(isize) + 1);\
Set(parameter,icon_size,$(isize));\
Get(icon_size);
Size-=\
Make(var,isize,expr $(isize) - 1);\
Set(parameter,icon_size,$(isize));\
Get(icon_size);
Padding+=\
Make(var,space,expr $(space) + 1);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
Padding-=\
Make(var,space,expr $(space) - 1);\
Set(parameter,icon_padding,$(space));\
Get(icon_padding);
IconSize($$)=\
Make(var,isize,by_value,$(Index));\
Set(status,$(isize) / $(space));
IconPadding($$)=\
Make(var,space,by_value,$(Index));\
Set(status,$(isize) / $(space));
Save Setup=\
Make(var,dummy,touch $(TmpDir)/hook_connect;mv $(TmpDir)/hook_connect $(TmpDir)/hook_connect.old;cat $(TmpDir)/hook_connect.old|grep -v icon_size|grep -v icon_padding > $(TmpDir)/hook_connect;echo "");\
Exec(echo "Set(parameter,icon_size,$(isize))" >> $(TmpDir)/hook_connect;echo "Set(parameter,icon_padding,$(space))" >> $(TmpDir)/hook_connect);
Clear Setup=\
Exec(touch $(TmpDir)/hook_connect;mv $(TmpDir)/hook_connect $(TmpDir)/hook_connect.old;cat $(TmpDir)/hook_connect.old|grep -v icon_size|grep -v icon_padding > $(TmpDir)/hook_connect);
* *=Set(text,replace,Help,With this configuration file it is possible to setup icon size and distance beetween icons.\n 0 - Defaults\n1 - Decrease Padding\n3 - Increase Padding\n4 - Decrease Icon Size\n6 - Increase Icon Size);
Back=\
Set(text,close);\
Macro(A_MENU)
[ModeEnd]
[End]
|