Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exhange description "SDL2 application" #115

Closed
javierdlr opened this issue Jun 28, 2024 · 4 comments
Closed

Exhange description "SDL2 application" #115

javierdlr opened this issue Jun 28, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request sdl2 sdl3

Comments

@javierdlr
Copy link

Hi, now if you launch Exhange commodity on eveyr SDL2 it shows "SDL2 application" as desacription.

SDL_os4video.c::
static void
OS4_RegisterApplication(_THIS)
{
    SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;

    data->appId = IApplication->RegisterApplication(data->appName,
                                                    REGAPP_Description, "SDL2 application",
                                                    TAG_DONE);

    if (data->appId) {
        dprintf("Registered application with id %u\n", data->appId);
    } else {
        dprintf("Failed to register application\n");
    }
}

can such string be "user definible"?

@capehill
Copy link

capehill commented Oct 5, 2024

How to make SDL2 programs appear on Exchange?

But AFAIK SDL2 doesn't have API for this.

@javierdlr
Copy link
Author

Ok, if then instead of fixed "SDL2 application" maybe the program name be set as REGAPP_Description?

@capehill capehill self-assigned this Jan 26, 2025
@capehill
Copy link

Ok, if then instead of fixed "SDL2 application" maybe the program name be set as REGAPP_Description?

Why mix name and description?

I'm thinking about adding an AmigaOS 4 -specific function to deal with this.

@capehill capehill added sdl3 sdl2 enhancement New feature or request labels Jan 26, 2025
capehill added a commit that referenced this issue Feb 7, 2025
…erride the default description. Also init and quit locale stuff (#115)
capehill added a commit that referenced this issue Feb 7, 2025
…ADATA_NAME_STRING or SDL_HINT_APP_NAME to override the default description (#115)
capehill added a commit that referenced this issue Feb 8, 2025
…ADATA_NAME_STRING or SDL_HINT_APP_NAME to override the default description (#115)
@capehill
Copy link

capehill commented Feb 8, 2025

Why mix name and description?

After checking some SDL documentation, SDL_HINT_APP_NAME seemed appropriate for this use.

@capehill capehill closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sdl2 sdl3
Projects
None yet
Development

No branches or pull requests

2 participants