#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 13 Feb 2019 19:42:36 +0100
changeset 8627 13114f8fe406
parent 8626 f2894e8528de
child 8628 630f9c33b205
#DOCUMENTATION by cg class: ResourcePack class comment/format in: #examples
ResourcePack.st
--- a/ResourcePack.st	Wed Feb 13 12:58:33 2019 +0100
+++ b/ResourcePack.st	Wed Feb 13 19:42:36 2019 +0100
@@ -152,8 +152,19 @@
 
 examples
 "
-    normally, resources are found in files named after their classes sourcefile
-    For example, the FileBrowsers resources are found in 'FBrowser.rs'.
+    normally, resources are found in files named after their classes sourcefile,
+    or in 'resources.rs' under the package's 'resources' folder.
+    
+    For example, the FileBrowsers resources might be found in 'FBrowser.rs',
+    or in the package's summary resources 'libwidg/resources/resources.rs'.
+
+    Notice: 
+        in previous older ST/X versions, there where individual resource files as per class;
+        this lead to many duplicate entries and many small resource files.
+        Therefore, these have been concentrated into one resource file as per package,
+        which typically dispatches to a specific resource files named <lang>.rs.
+        See the libwidg/resources or libview/resources folders as examples.
+        
     For the examples below, we process resources from a constant string;
         this is NOT representative.
                                                                         [exBegin]