* Make sure the image super type has Width, Height, Rating, Comment and Year.

* Make sure that video and audio default to display rating as rating (untested).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40382 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2011-02-07 23:29:26 +00:00
parent bb5f99a5a6
commit af927c61ba
3 changed files with 48 additions and 4 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ resource(6, "META:ATTR_INFO") message(233) {
"attr:width" = 30,
"attr:width" = 40,
"attr:width" = 30,
"attr:width" = 15,
"attr:width" = 60,
"attr:width" = 60,
"attr:width" = 50,
"attr:alignment" = 0,
@@ -91,7 +91,7 @@ resource(6, "META:ATTR_INFO") message(233) {
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "rating",
"attr:display_as" = "duration",
"attr:display_as" = "",
"type" = "audio"
+44
View File
@@ -9,6 +9,50 @@ resource(3, "META:S:DESC") #'MSDC' "Image file";
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-ShowImage";
resource(6, "META:ATTR_INFO") message(233) {
"attr:name" = "Media:Width",
"attr:name" = "Media:Height",
"attr:name" = "Media:Year",
"attr:name" = "Media:Comment",
"attr:name" = "Media:Rating",
"attr:public_name" = "Width",
"attr:public_name" = "Height",
"attr:public_name" = "Year",
"attr:public_name" = "Comment",
"attr:public_name" = "Rating",
"attr:type" = 'LONG',
"attr:type" = 'LONG',
"attr:type" = 'LONG',
"attr:type" = 'CSTR',
"attr:type" = 'LONG',
"attr:viewable" = true,
"attr:viewable" = true,
"attr:viewable" = true,
"attr:viewable" = true,
"attr:viewable" = true,
"attr:editable" = true,
"attr:editable" = true,
"attr:editable" = true,
"attr:editable" = true,
"attr:editable" = true,
"attr:width" = 60,
"attr:width" = 60,
"attr:width" = 60,
"attr:width" = 120,
"attr:width" = 60,
"attr:alignment" = 1,
"attr:alignment" = 1,
"attr:alignment" = 0,
"attr:alignment" = 0,
"attr:alignment" = 0,
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "rating",
"type" = "image"
};
resource(5, "META:ICON") #'VICN' array {
$"6E6369660502000603399E0F3D9C0ABF82B23B84A94B88504870C900A5B1FFBC"
$"EAF1FFFFB3B8FF0501020106023E49240000000000003CAAAA4940004A3000FF"
+2 -2
View File
@@ -53,7 +53,7 @@ resource(6, "META:ATTR_INFO") message(233) {
"attr:width" = 30,
"attr:width" = 40,
"attr:width" = 30,
"attr:width" = 15,
"attr:width" = 60,
"attr:width" = 60,
"attr:width" = 50,
"attr:alignment" = 0,
@@ -67,7 +67,7 @@ resource(6, "META:ATTR_INFO") message(233) {
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "",
"attr:display_as" = "rating",
"attr:display_as" = "duration",
"attr:display_as" = "",
"type" = "video"