Semphriss

Results 172 comments of Semphriss

For XCode, is there a specific pattern for the magic numbers to use?

Pushed; I don't have access to XCode for the moment so I'll leave it as-is for now.

I'm still working on this on my free time, but I would need counsel for the following points from the to-do list: > - Review the need for a new...

@slouken Is there an SDL equivalent to `snwprintf` for wide-char strings?

Note for reviewers: I replaced the SDL_TrayEntryFlags enum with an Uint32 and #defines to make them OR'able without warnings. I basically copied what I saw for SDL_InitFlags, but I'm not...

The last point in my to-do list is whether or not to support DBus. I did think about it (I also thought about `org.ayatana.indicator`), but I'm not even remotely familiar...

Revised API proposal: SDL_CreateTray; SDL_SetTrayIcon; SDL_SetTrayTooltip; SDL_CreateTrayMenu; SDL_CreateTraySubmenu; SDL_GetTrayMenu; ~~SDL_CreateOrGetTrayMenu~~ -> Let the developers handle that on their own; SDL_GetTraySubmenu; ~~SDL_CreateOrGetTraySubmenu~~ -> Let the developers handle that on their own;...

Small modification to what I wrote above: I realized after posting that SDL_RemoveTrayEntry does not, in fact, remove the last element as SDL_Append* does, but rather, takes a SDL_TrayEntry pointer...

API-wise, would it be good to replace SDL_InsertTraySeparatorAt with SDL_InsertTrayEntryAt + a flag to indicate that a separator is wanted? What prompts the question is the current second-from-last point in...

> Running `testtray` segfaults immediately on my system (Fedora 39). It segfaults because `SDL_CreateTray` returns a `NULL`. The test is barely a stub that helps me with debugging; it is...