Files
pyzule-rw/extras/CepheiPrefs.framework/Headers/HBImageTableCell.h
zx 5fe28ee86c feat: INJECTION !!
PYZULE FINALLY DOESNT SUCK!
2024-09-03 00:13:00 -04:00

46 lines
1.2 KiB
Objective-C

#import <Preferences/PSTableCell.h>
#import <Preferences/PSHeaderFooterView.h>
/// The HBImageTableCell class in CepheiPrefs provides a simple way to display an image as a
/// table cell, or a header or footer.
///
/// ### Specifier Parameters
/// <table class="graybox">
/// <tr>
/// <td>icon</td> <td>Required. The file name of the image to display in the cell.</td>
/// </tr>
/// </table>
///
/// If you use `HBImageTableCell` as a header or footer with `headerCellClass` or `footerCellClass`,
/// it will size automatically to fit the image. If you use it as a cell with `cellClass`, you must
/// set the height yourself using the `height` key.
///
/// ### Example Usage
/// ```xml
/// <!-- As a header (or footer): -->
/// <dict>
/// <key>cell</key>
/// <string>PSGroupCell</string>
/// <key>headerCellClass</key>
/// <string>HBImageTableCell</string>
/// <key>height</key>
/// <integer>100</integer>
/// <key>icon</key>
/// <string>logo.png</string>
/// </dict>
///
/// <!-- As a cell: -->
/// <dict>
/// <key>cellClass</key>
/// <string>HBImageTableCell</string>
/// <key>height</key>
/// <integer>100</integer>
/// <key>icon</key>
/// <string>logo.png</string>
/// </dict>
/// ```
@interface HBImageTableCell : PSTableCell <PSHeaderFooterView>
@end