forked from KolibriOS/kolibrios
eolite.ini, pixie.ini: delete, use app.ini instead
snake.ini: remove from IMG pixie2 skin.png: better compressing git-svn-id: svn://kolibrios.org@7429 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -181,6 +181,7 @@ void main()
|
||||
if (key_scancode==SCAN_CODE_KEY_M) RunProgram("/sys/@VOLUME", "m");
|
||||
if (key_scancode==SCAN_CODE_KEY_R) EventRepeatClick();
|
||||
if (key_scancode==SCAN_CODE_KEY_S) EventShuffleClick();
|
||||
if (key_scancode==SCAN_CODE_KEY_I) EventShowTagInfo();
|
||||
if (key_scancode==SCAN_CODE_RIGHT) RunProgram("/sys/@VOLUME", "+");
|
||||
if (key_scancode==SCAN_CODE_LEFT) RunProgram("/sys/@VOLUME", "-");
|
||||
if (key_scancode==SCAN_CODE_ENTER) EventStartPlayingSelectedItem();
|
||||
@@ -567,6 +568,36 @@ void ShowAboutThread()
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
struct {
|
||||
char tag[4];
|
||||
char title[60];
|
||||
char artist[60];
|
||||
char album[60];
|
||||
char speed;
|
||||
char genre[30];
|
||||
char start_time[6];
|
||||
char end_time[6];
|
||||
} tag11;
|
||||
|
||||
struct {
|
||||
char tag[3];
|
||||
char title[30];
|
||||
char artist[30];
|
||||
char album[30];
|
||||
char year[4];
|
||||
char comment[30];
|
||||
unsigned char genre; //https://www.w3.org/People/Bos/MP3tag/mp3tag.c
|
||||
} tag10;
|
||||
*/
|
||||
|
||||
void EventShowTagInfo()
|
||||
{
|
||||
char item_path[4096];
|
||||
sprintf(#item_path,"%s/%s",#work_folder,GetSelectedItemName());
|
||||
RunProgram("/sys/media/mp3info", #item_path);
|
||||
}
|
||||
|
||||
|
||||
stop:
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[Config]
|
||||
window_mode=0
|
||||
last_folder=
|
||||
@@ -18,8 +18,8 @@ _ini ini;
|
||||
|
||||
void LoadIniConfig()
|
||||
{
|
||||
ini.path = GetIni(#pixie_ini_path, "PIXIE.INI");
|
||||
ini.section = "Config";
|
||||
ini.path = GetIni(#pixie_ini_path, "app.ini");
|
||||
ini.section = "Pixie";
|
||||
window_mode = ini.GetInt("window_mode", WINDOW_MODE_NORMAL);
|
||||
win_x_normal = ini.GetInt("win_x_normal", 100);
|
||||
win_y_normal = ini.GetInt("win_y_normal", 90);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user