BFont: Minor code cleanup and autolocking for AppFontManager
* changed explicit locking to use Autolocker for gFontManager/fAppFontManager in ServerApp, per comments in https://review.haiku-os.org/c/haiku/+/4790 * changed BFont::LoadFont (memory version) to use size_t for size and offset * no functional changes Change-Id: I438a4975d5bb1b2fa17bc54e9e171c31dadfeec5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6003 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
d778c82da4
commit
4f52a155e6
@@ -284,7 +284,7 @@ public:
|
||||
|
||||
status_t LoadFont(const char* path);
|
||||
status_t LoadFont(const area_id fontAreaID,
|
||||
uint32 size = 0, uint32 offset = 0);
|
||||
size_t size = 0, size_t offset = 0);
|
||||
status_t UnloadFont();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user