Ok, so because Windows is stupid systems and don't remember create basic elements, I have to NOT display images.
That's sound horrible. God bless old good single window system.
Search found 12 matches
- Tue Sep 26, 2023 3:52 pm
- Forum: Coding Questions
- Topic: display image
- Replies: 27
- Views: 3392
- Tue Sep 26, 2023 12:48 pm
- Forum: Coding Questions
- Topic: display image
- Replies: 27
- Views: 3392
Re: display image
Attronach's requirement sounds similar to something I needed a few days ago, consequently the requirement sounds reasonable to me. I have an administrative application running as a console, but I wanted to provide a pop-up help window. I didn't want to present the help as console text.
It works ...
- Mon Sep 25, 2023 8:05 pm
- Forum: Coding Questions
- Topic: display image
- Replies: 27
- Views: 3392
Re: display image
Why Console,
Mixing GUI and Console is not useful. Otherwise, Console and Window of the focus must always be changed with the mouse. In addition, the user input does not work in the GUI part and comes to errors, because here also all events must be processed.
No errors just need to switch to ...
- Mon Sep 25, 2023 12:29 pm
- Forum: Coding Questions
- Topic: display image
- Replies: 27
- Views: 3392
Re: display image
There are examples inside Purebasic folder and the PB Help.
Show help ImageGadget and CanvasGadget
If OpenWindow(0, 0, 0, 500, 300, "ImageGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If LoadImage(0, imagefile) ; change 2nd parameter to the path/filename of your image ...
- Fri Sep 22, 2023 12:59 pm
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Re: Some questions before purchase (graphic wise)
Latter there are some pictures (no animation, just bitmaps).
To answer your question - if using the graphical console or a converted ascii art is good enough for you, then yes it works. Otherwise no ;)
I see. I thing draw image in separate small window will be enough. And picture is bonus ...
- Fri Sep 22, 2023 11:20 am
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Re: Some questions before purchase (graphic wise)
In PB you have 3 choices:
console programs (only Text)
GUI programs (graphic elements)
Screen programs (sprites)
You have to decide what you want to use.
The later 2 are event driven, you need one event loop for handling the events.
It's hard to decide because I don't know what all I can do in ...
- Fri Sep 22, 2023 8:46 am
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
- Fri Sep 22, 2023 8:07 am
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
- Fri Sep 22, 2023 7:26 am
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Re: Some questions before purchase (graphic wise)
Hello again,
I'm doing something wrong.
Can anyone tell me please, how to display simple text from string on screen?
Something like 'c' do:

I'm doing something wrong.
Can anyone tell me please, how to display simple text from string on screen?
Something like 'c' do:
Code: Select all
char string_num [7] = "123456";
printf ("%s", string_num);

- Wed Sep 20, 2023 4:06 pm
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Re: Some questions before purchase (graphic wise)
You would still have to redraw the screen every frame.
depending on how much you draw and what "frame rate" you need. I think doing a GUI for your app should work well, tho. In screen mode the used keyboard inkey() functions aren't as responsive or intuitive, they respond only after releasing ...
- Wed Sep 20, 2023 3:31 pm
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Re: Some questions before purchase (graphic wise)
Thnx all for info and links.
I will check everything.
I will check everything.
- Tue Sep 19, 2023 10:06 pm
- Forum: General Discussion
- Topic: Some questions before purchase (graphic wise)
- Replies: 24
- Views: 3350
Some questions before purchase (graphic wise)
Hello,
Past time I work with GFABasic and PowerBasic. Later under DJGPP (C) and WatcomC. Created few project (mostly games) under Atari STe, Amiga500/1200 and older PC (with Watcom C under DOS4G extender).
ATM I have Visual Studio installed and trying to find way how to create user-friendly ...
Past time I work with GFABasic and PowerBasic. Later under DJGPP (C) and WatcomC. Created few project (mostly games) under Atari STe, Amiga500/1200 and older PC (with Watcom C under DOS4G extender).
ATM I have Visual Studio installed and trying to find way how to create user-friendly ...