Skip to content

v2.1.0 - 标准化更新 Standardization update

Choose a tag to compare

@ChepleBob30 ChepleBob30 released this 07 Oct 09:01
· 29 commits to main since this release
  • 对所有RCR进行大范围改动,现在可以使用更常见的xxx::default().xxx()格式来创建资源了。
  • 对所有add方法使用方法进行修改。
  • 添加image_texture方法,可以直接取出图片纹理。
  • 修改了Text的超链接定义方法,现在你可以直接提供链接所属文本内容,并选择选中所有匹配项或特定匹配项。
  • 现在Switch的状态数目取决于appearance的项目数,少于最小值则会创建失败。
  • 添加reset_split_time和reset_image_texture方法,用于重置特定资源。
  • 移除了App中的frame参数。
  • 将GameText重命名为AppText。
  • 现在App的new方法直接接收Config和AppText而非文件路径。
  • 修复了Switch的提示文本在出现一次留空情况就无法显示的问题。
  • 修复了Text的超链接文本下划线不会被文本框覆盖的问题。
  • 移除了ScrollBackground。

  • Make extensive changes to all RCRs. Now, you can create resources using the more common xxx::default().xxx() format.
  • Modify the usage methods of all add methods.
  • Adding the image_texture method can directly extract the texture of the image.
  • The hyperlink definition method of Text has been modified. Now you can directly provide the text content to which the link belongs and select all matches or specific matches.
  • The current number of states on Switch depends on the number of items in appearance. If it is less than the minimum value, the creation will fail.
  • Add the reset_split_time and reset_image_texture methods to reset specific resources.
  • Removed the frame parameter from App.
  • Rename GameText to AppText.
  • Now, the new method of the App directly receives Config and AppText instead of file paths.
  • Fixed the issue where the prompt text of Switch failed to display after a single blank space.
  • Fixed the issue where the underline of the hyperlink in Text would not be covered by the text box.
  • Removed ScrollBackground.