Search found 58 matches

by Azur
Thu Aug 22, 2019 6:02 pm
Forum: Linux
Topic: qt trackbargadget
Replies: 2
Views: 2278

Re: qt trackbargadget

Hello thanks for the answer.
Your code does not work for me if i use Qt subsystem in the compiler options, the trackbar is stuck.
I have to invert maximum and minimum for the trackbar gadget
by Azur
Wed Aug 21, 2019 7:41 pm
Forum: Linux
Topic: qt trackbargadget
Replies: 2
Views: 2278

qt trackbargadget

Hello
Am I doing it bad ?

setGadgetAttribute
#pb_trackbar_maximum
#pb_trackbar_minimum

seems to be inverted when using Qt subSystem


EnableExplicit

Define win.l, slider.l

win.l = OpenWindow(#PB_Any, 0, 0, 800 ,240, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
slider.l ...
by Azur
Wed Sep 20, 2017 7:42 pm
Forum: Linux
Topic: SplitterGadget freeze application
Replies: 2
Views: 2020

Re: SplitterGadget freeze application

Yes it works, thx for the quick and helpfull answer.
by Azur
Wed Sep 20, 2017 6:34 pm
Forum: Linux
Topic: SplitterGadget freeze application
Replies: 2
Views: 2020

SplitterGadget freeze application

Hello, this code freeze the opened window on my linux mint, can someone confirm it does work ?
thx.

win = OpenWindow(#PB_Any, 0, 0, 800, 600, "", #PB_Window_SystemMenu)
tree = ExplorerTreeGadget(#PB_Any, 0, 0, 0, 0, "./")
panel = ScrollAreaGadget(#PB_Any, 0, 0, 0, 0, 320, 320)
splitter ...
by Azur
Thu Nov 27, 2014 2:18 pm
Forum: Coding Questions
Topic: GetMusicRow issue
Replies: 2
Views: 1476

Re: GetMusicRow issue

Yes my bad, the word "position" was not a good choice ( Frenchfrog here ).
Your example works better since it fetch all rows number. Thx, i will study this.
But there is a +-1 second shift between the row position and the actual audio.
Is this bufferisation related ?
by Azur
Thu Nov 27, 2014 12:16 pm
Forum: Coding Questions
Topic: GetMusicRow issue
Replies: 2
Views: 1476

GetMusicRow issue

Hello.
Can anyone confirm the getMusicRow function dosent fetch the position correctly ?


EnableExplicit

InitSound()

Define win=OpenWindow(#PB_Any,0,0,320,240,"",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)

LoadMusic(0,"name.xm")
PlayMusic(0)

Repeat
If WaitWindowEvent(5)=#PB_Event ...
by Azur
Fri Oct 03, 2014 12:21 am
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Re: Mousedeltax question

Ok i have a working example but im sorry my english is too bad for a deep explanation.
but ...
It seems some gaming mouses have a high refresh rate, and, if the main programme run at 60fps f.a.e. the motion is laggy.
By using a thread we can request the motion at a higher rate.
The thread wait for ...
by Azur
Thu Oct 02, 2014 9:15 pm
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Re: Mousedeltax question

Ok thanks for confirming.
Yes i agree there is no absolute necessity for using examineMouse in a windowed context.
I lose my mind with this mouse issue and see bugs/strange behaviours everywhere.
I posted on the French forum and there is a user, Ar-S, who told me he had the same issue with a MadCat ...
by Azur
Thu Oct 02, 2014 8:01 pm
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Re: Mousedeltax question

Hello Bernd
In fact when i test your bugFix, there is no pointer anymore and the closewindow gadget is unreachable.
Can you confirm this ?
by Azur
Thu Oct 02, 2014 4:17 pm
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Re: Mousedeltax question

Nevermind about the pointer question i tested it again and it work.
Your bugFix works fine, both values are the same but if i move the mouse fast ( not very fast ), the sprite dosent move.
Seems it only happends with the RAT7
by Azur
Thu Oct 02, 2014 3:25 pm
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Re: Mousedeltax question

Hello thx for answering.
I didnt post code example bcause as i said, i can test this in every PB's examples that use mouse for camera rotation.

No it still dosent work.
Full Win reinstall and the same issue.
When i move the mouse fast, the mousedelta is corrupted
Tested on another computer works ...
by Azur
Wed Oct 01, 2014 8:56 pm
Forum: Coding Questions
Topic: Gaming Mouse position lag
Replies: 11
Views: 6105

Gaming Mouse position lag

Hello, it seems i encounter some issues with mousedelta usage.
When, i move my mouse slowly everything works fine but when i move it fast the delta is laggy.
I have this problem in every 3d examples if the mouse rotate the camera, i can't do a fast 360, the camera just stop rotating if i move too ...
by Azur
Fri Apr 12, 2013 6:59 pm
Forum: Linux
Topic: Mint console
Replies: 0
Views: 1439

Mint console

Hello, could a linux mint 14 mate x64 / pb 5.11 64 confirm this:
Trying to compile-run a console app shut down the ide.
( debugger on -> ide instant shutdown / debugger off -> ide frozen, pbcompiler process remaining )
Creating a console executable and runnng it from console works fine.
checkinstall ...
by Azur
Mon Mar 25, 2013 7:42 pm
Forum: Linux
Topic: Sticky Window
Replies: 0
Views: 1526

Sticky Window

Hello
In this code i try to open a fullSized window and opening a secondary window on the top
the stickywindow(n) dosen't seems to work with a fullsized window in the background.
PB511 32 Debian 6 Gnome.



EnableExplicit

Define working=1 ; _________ change to 0, green window is not sticky ...