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
Search found 58 matches
- Thu Aug 22, 2019 6:02 pm
- Forum: Linux
- Topic: qt trackbargadget
- Replies: 2
- Views: 2278
- 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 ...
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 ...
- 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.
- 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 ...
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 ...
- Mon Apr 13, 2015 10:37 am
- Forum: 3D Programming
- Topic: Fast mouse movement goes undetected
- Replies: 12
- Views: 6391
- 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 ?
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 ?
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ?
In fact when i test your bugFix, there is no pointer anymore and the closewindow gadget is unreachable.
Can you confirm this ?
- 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
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
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ...
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 ...