seuqram Posted May 10, 2012 at 08:51 PM Report #454470 Posted May 10, 2012 at 08:51 PM como mudar o icone de um jogo.exe meu? já criei o icone, já o substitui pelo outro que vinha,mas ficou na mema! que fasso? 😄
pikax Posted May 10, 2012 at 08:54 PM Report #454471 Posted May 10, 2012 at 08:54 PM ve se assim funciona SDL_Surface* icon = SDL_LoadBMP("omeuicon.bmp")) SDL_WM_SetIcon(icon, NULL); Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
seuqram Posted May 10, 2012 at 08:56 PM Author Report #454472 Posted May 10, 2012 at 08:56 PM ve se assim funciona SDL_Surface* icon = SDL_LoadBMP("omeuicon.bmp")) SDL_WM_SetIcon(icon, NULL); preciso meter alguma biblioteca expecifica? posso meter no codigo fonte main? não sabem como fazer em allegro? nem como mexer naquele arquivo private.rc?
pikax Posted May 10, 2012 at 09:01 PM Report #454474 Posted May 10, 2012 at 09:01 PM nao estas a usar SDL? Isto saoi funcoes de SDL Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
seuqram Posted May 10, 2012 at 09:03 PM Author Report #454475 Posted May 10, 2012 at 09:03 PM n eu estou a usar allegro...
pikax Posted May 10, 2012 at 09:05 PM Report #454476 Posted May 10, 2012 at 09:05 PM penso que seja isto entao http://wiki.allegro.cc/index.php?title=Set_a_windows_icon Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
seuqram Posted May 10, 2012 at 09:23 PM Author Report #454477 Posted May 10, 2012 at 09:23 PM não deu O.o
pikax Posted May 10, 2012 at 09:42 PM Report #454482 Posted May 10, 2012 at 09:42 PM fizeste isto? windres -O coff -o icon.res -i icon.rc g++ -o my_app obj1.o obj2.o icon.res Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
HappyHippyHippo Posted May 10, 2012 at 10:17 PM Report #454501 Posted May 10, 2012 at 10:17 PM estas a falar do icon no canto superior da janela ou do ficheiro mesmo ??? IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
seuqram Posted May 11, 2012 at 12:30 PM Author Report #454569 Posted May 11, 2012 at 12:30 PM fizeste isto? windres -O coff -o icon.res -i icon.rc g++ -o my_app obj1.o obj2.o icon.res onde meto isso?
seuqram Posted May 11, 2012 at 12:32 PM Author Report #454570 Posted May 11, 2012 at 12:32 PM estas a falar do icon no canto superior da janela ou do ficheiro mesmo ??? este tópico está a falar de como meter um ícone no executável! mas agradecia que me dissesses como meter no canto superior esquerdo da janela o ícone...
seuqram Posted May 11, 2012 at 04:24 PM Author Report #454670 Posted May 11, 2012 at 04:24 PM ajudem-me pls!
HappyHippyHippo Posted May 11, 2012 at 04:26 PM Report #454671 Posted May 11, 2012 at 04:26 PM http://wiki.allegro.cc/index.php?title=Set_a_windows_icon IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
seuqram Posted May 11, 2012 at 04:42 PM Author Report #454679 Posted May 11, 2012 at 04:42 PM o pikax já me deu esse link mas acho que me falta qualquer coisa windres -O coff -o icon.res -i icon.rc g++ -o my_app obj1.o obj2.o icon.res onde meto isto?
HappyHippyHippo Posted May 11, 2012 at 04:46 PM Report #454682 Posted May 11, 2012 at 04:46 PM depende do teu ide IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
seuqram Posted May 11, 2012 at 04:48 PM Author Report #454683 Posted May 11, 2012 at 04:48 PM depende do teu ide dev cpp
HappyHippyHippo Posted May 11, 2012 at 04:50 PM Report #454685 Posted May 11, 2012 at 04:50 PM não uso (obrigada) ... talvez alguém sabe como ... IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
seuqram Posted May 11, 2012 at 04:51 PM Author Report #454687 Posted May 11, 2012 at 04:51 PM não uso (obrigada) ... talvez alguém sabe como ... mas se fosse no teu onde mentirias? meto no main ou no icone.rc?
HappyHippyHippo Posted May 11, 2012 at 04:51 PM Report #454689 Posted May 11, 2012 at 04:51 PM comandos do compilador IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
seuqram Posted May 11, 2012 at 05:02 PM Author Report #454694 Posted May 11, 2012 at 05:02 PM porra tou boe confuso, não há maneira mais fácil?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now