Who's Online |
71 user(s) are online ( 39 user(s) are browsing Forums)
Members: 1
Guests: 70
Hypex,
more...
|
|
|
|
Re: How to use Alpha layer for Docky ?
|
Posted on: 2013/2/6 23:31
#1341
|
Just can't stay away
|
Thank you (again) , I thought that this example was just for system lower than AmigaOS 4.1.1. I will set it !
|
|
|
|
Re: How to use Alpha layer for Docky ?
|
Posted on: 2013/2/3 6:36
#1343
|
Just can't stay away
|
Thank you Samo79 & Hans, it's nice !
As you have noticed, the transparent version is not on OS4depot yet. I have others things to implement before to release it.
|
|
|
|
Re: How to use Alpha layer for Docky ?
|
Posted on: 2013/2/2 21:04
#1344
|
Just can't stay away
|
Hi, thanks for your replies, BroadBlues and CentaurZ. I succeed to do what I wanted, to make a transparent background :) http://zzd10h.amiga-ng.org/NetDock/NetDock_Transparent.jpg Following the advices of CentaurZ to use DOCKYRENDERMODE_RPPA. (on the french Amiga-NG forum) I removed all the SetBPen, the RectFill, the FillPixelsArray... and it works. Thanks again ! Your help is very nice.
|
|
|
|
How to use Alpha layer for Docky ?
|
Posted on: 2013/2/2 18:07
#1345
|
Just can't stay away
|
Hi all, I'm building a docky for network activity. It works well but I'm now trying to use a transparent background... and I don't succeed. My goal is to change the black background by a transparent one on this Docky : http://www.os4depot.net/filedata/snapshot/7680_1_snap.jpg1) I tried CyberGraphics FillPixelArray() who seems to manage alpha layer (first byte of ARGB) by RectFill(dd->rp,0,0,dd->ds.width-1,dd->ds.height-1); FillPixelArray(dd->rp,0,0,dd->ds.width-1,dd->ds.height-1,0xFF000000); SetRPAttrs(dd->rp,RPTAG_APenColor,0xFF00FF00, RPTAG_DrMd,JAM1,NULL); The color changes is OK, but I see no difference if I change 0XFF by something else. 2) I try, too, Graphics ObtainBestPenA() pen = ObtainBestPenA(cm, 0x00000000, 0x00000000, 0x00000000, NULL ); but it is the same, the color changes but not the transparency. Is it possible to do this ? Thanks by advance for your help. zzd10h
|
|
|
|
Re: MUI : is it possible to resize window programmatically ?
|
Posted on: 2013/1/14 18:59
#1346
|
Just can't stay away
|
ChrisH : I have just tested and it works inside the code, but just sometimes... The majority of the time only a dimension is modified...
Therefore, I will have to work on the hardest part, to review my GUI.
Thank you all.
|
|
|
|
Re: MUI : is it possible to resize window programmatically ?
|
Posted on: 2013/1/14 12:26
#1347
|
Just can't stay away
|
Thboeckel : Thank you again for your help, I suspected that it was not compatible with the MUI philosophy... But I'm creating another tab who is really bigger than others tabs, therefore it's really annoying to have to manually resize the others tabs. ChrisH : Yes, it was something like that that I was looking for. But according to the AutoDocs, MUIA_Window_Width is just Gettable and specifiable during Initialization. http://www.sasg.com/mui/autodocs/MUI_Window.html#MUIA_Window_WidthI will try it this evening by specifying fixed size. thank you, too, for your help.
|
|
|
|
MUI : is it possible to resize window programmatically ?
|
Posted on: 2013/1/13 23:15
#1348
|
Just can't stay away
|
Hello all, I have again a MUI question, yes again... Is it possible to resize a MUI window by code in C ? For example, my program SysMon consists of a RegisterGroup with many tabs. When a tab is opened, the window is scaled depending of the gadget inside the tab. Normal. But when I go to another tab who is littler, the window is not resized and keep the previous big size. Therefore, Is somebody knows if it's possible to resize the window after initialization, by code ? For example, the problem is very visible between Windows tab and Ragemem tab in SysMon : http://eu.os4depot.net/share/utility/workbench/sysmon.lhaI hope that it's possible, And thanks you by advance for your kind help.
|
|
|
|
Re: PCI very slow when using Radeon9250 on X1000 ?
|
Posted on: 2013/1/6 1:35
#1349
|
Just can't stay away
|
Yes, I opened too the same thread on Hyperion... But Ihave opened this new thread to have more answers, because I don't know if it was a problem from me or from x1000.
And, now I have the answer,, thank you.
But, i don't understand if the large block transfer with DMA is planned for PA6T ?
Thank you Hans for this explanation
|
|
|
|
Re: PCI very slow when using Radeon9250 on X1000 ?
|
Posted on: 2013/1/6 1:27
#1350
|
Just can't stay away
|
Thank you mr2
1) are these big results differences between our 2 systems just because of the 33mhz PCI speed difference ?
Is a x1000 owner could make a RageMem test, please, with or without a PCI card? Or better, could you test the linked video test ?
2) thank for the link ! Great, happy to read thet Gallium3D will resolve our lack of overlay and that it's in the to-do list of the AmigaOS team :)
|
|
|
|
PCI very slow when using Radeon9250 on X1000 ?
|
Posted on: 2013/1/6 0:13
#1351
|
Just can't stay away
|
Hi, I'm using a PCI Radeon 9250 128bits 256mB (only 128mB are recognized) to have Overlay and native Warp3D on my x1000. I have tried to play a HD movie with this gfx card, it works but it's really worst than on my Peg2 AGP Radeon 9000Pro (sold last week) When I play this movie http://mirrorblender.top-ix.org/peach ... k_bunny_720p_surround.aviIn fullscreen and in window mode, I have 34% of skipped frames (16 fps) with DVPlayer verbose option (same skipped frame % in fullscreen and window mode) On the Peg2, I only have 2% of skipped frames (23 fps) Indicating by RageMem, the Video bus speed is very slow (Read = 3 mB/sec, Write = 25 mB/sec) comparing to Peg2 (52 and 221 respectively) I have tried it with 3 cards (2 9250 128bits and 1 9250 64bits) and the DVPlayer results are around the same for each... http://zzd10h.amiga-ng.org/Divers/Rad ... DVPlayer_RageMem_9250.jpgNext, I have tested to put the Radeon9250 on the Starteck PCI2PCIE adapter. And it works very better (but far of my Peg2 results) For the same DVPlayer video Now, I just have 5% of skipped frames and 22 fps (instead of 34% and 16 fps for the test directly on the PCI slot) RageMem Video Bus Read = 17 MB/s (instead of 3 MB/s directly on PCI slot) Video Bus Write = 31 MB/s (instead of 25 MB/s directly on PCI slot) http://zzd10h.amiga-ng.org/Divers/Rad ... yer_RageMem_9250_PCIE.jpgUnfortunately, I can't keep the 9250 on the Starteck adapter, the card is to much heavy. It's strange, that the PCI slot and PCI-E were so slow with the Radeon 9250, no ? 1) I thought that the slowest PCI bandwith (33mhz) was around 100 mB/sec... Do you know where I am wrong ? 2) And do you know if the future Gallium3D will resolve this Overlay big problem ? Thank you if you could help me on one of these 2 questions. And sorry for this long post.
Edited by zzd10h on 2013/1/6 0:29:19
|
|
|
|
Re: MUI : help for SimpleButton (shortcut and width)
|
Posted on: 2013/1/3 17:16
#1352
|
Just can't stay away
|
@gazelle : Right ! MUIA_Text_HiChar is not necessary, I have just tested, and I just need \33uX\33n and MUIA_ControlChar
@ChrisH Thanks you, my need is just to have the same width for 3 buttons in the same group, therefore MUIA_FixWidthTxt is sufficient for my need,
|
|
|
|
Re: MUI : help for SimpleButton (shortcut and width)
|
Posted on: 2013/1/3 14:21
#1353
|
Just can't stay away
|
I made others tests and finally the 2 points are working. 1) I finally use MUIA_FixWidthTxt (thank Thore) char bigpadding[40]="01234567890...6789"; set(bt_nothing1,MUIA_FixWidthTxt,bigpadding); set(bt_test,MUIA_FixWidthTxt,bigpadding); set(bt_nothing2,MUIA_FixWidthTxt,bigpadding); just after the CreateGUI 2) For the shortcuts it works simply with TextHiChar and ControlChar with \33u for the display) void hook_boutontestFunc(struct Hook *hook,APTR obj) { if (TEST) { set(bt_test,MUIA_Text_HiChar, 'v'); set(bt_test,MUIA_ControlChar, 'v'); set(bt_test,MUIA_Text_Contents,"\33uV\33nery big button with lot of characters"); } else { set(bt_test,MUIA_Text_HiChar, 's'); set(bt_test,MUIA_ControlChar, 's'); set(bt_test,MUIA_Text_Contents,"\33uS\33nmall"); } TEST = !TEST; } I have reuploaded the sample http://zzd10h.amiga-ng.org/Divers/MUI/test.lha I'm happy ;) Thank again, Gazelle and Thore !
|
|
|
|
Re: MUI : help for SimpleButton (shortcut and width)
|
Posted on: 2013/1/2 22:01
#1354
|
Just can't stay away
|
Thank you Gazelle, For 1) I bad explained the problem... My wish was to have a fixed width group of buttons for various contents size. For example, the 3 buttons have a 20 char size with button 1 text "toto" button 2 text "tutu" button 3 text "azertyuiop" and that It was persistent even after a iconify/uconify. I have solved this problem by padding the Contents to reach a fixed size, each time that I change my button text.
For 2) I have tried to use MUIA_Text_HiChar and MUIA_ControlChar with set(bt_Test,MUIA_ControlChar,'P') and set(bt_Test,MUIA_Text_HiChar,'P') without success I tried too, to use DoMethod(bt_group,OM_REMMEMBER,bt_test); and DoMethod(bt_group,OM_ADDMEMBER,bt_test); without success. I have maybe to learn how to Dispose, AddNewObject.
Thank you Gazelle, to have took time to answer me. And thank you Thore, too, to have responded to my mails ;)
Edited by zzd10h on 2013/1/3 0:08:10
|
|
|
|
MUI : help for SimpleButton (shortcut and width)
|
Posted on: 2012/12/29 22:27
#1355
|
Just can't stay away
|
Hi, i need help (again, sorry to ask you so often...) to make a MUI GUI. I have 2 questions concerning SimpleButton 1) Width fixed problem : How to make a width fixed button ? If I have a button with a text "TEST" at initialisation, my MUI button will reserve this space, but if change text "TEST" to "ANTICONSTITUTIONNELLEMENT", the second text will be truncated... Of course. I just want to know if it's possible to make a width reservation for a SimpleButton ??? I want for example to reserve a 40 characters buttons with a "test" string at middle... 2) Shortcut problem : I have a SimpleButton with text "_Push me XXXXXXX". => Child, bt_test = SimpleButton("_Push me XXXXXXX"), When I launch my program all is great, the P shortcut is working. When I push this button, I make a Notify to change his TextContent to "_Push...ed with long string" by set(bt_test,MUIA_Text_Contents,"_Push...ed with long string"); The problem is here, the text button is showing the "_" and the shortcut is no more working... If somebody interested, my problem is http://zzd10h.amiga-ng.org/Divers/MUI/1.jpghttp://zzd10h.amiga-ng.org/Divers/MUI/2.jpgand the sample program is : http://zzd10h.amiga-ng.org/Divers/MUI/test.lha (including source sample and make file) thank for help... zzd10h
Edited by zzd10h on 2012/12/29 23:28:49
|
|
|
|
Re: New gamelauncher eGame
|
Posted on: 2012/12/28 22:40
#1356
|
Just can't stay away
|
Great launcher ChrisH, very easy to use and to add games.
Ask for registration sent !
|
|
|
|
Re: How to know if a port is a ARexx port ?
|
Posted on: 2012/12/27 20:35
#1357
|
Just can't stay away
|
Thank you for your responses. Yes, I confirm, it's dangerous to send ARexx messages to a non ARexx port :)
Bexjlander : I try the SHOW(P), it lists the same ports than PortList. According to the response of Broadblues and ChrisH, it's normal.
Thank to all of you, it's nice to have responded.
Edited by zzd10h on 2012/12/27 21:35:30
|
|
|
|
Re: How to know if a port is a ARexx port ?
|
Posted on: 2012/12/27 7:02
#1358
|
Just can't stay away
|
@belxjander : Thank you, i still have the full Port list by scanning the List SysBase->PortList.
But I have to try if your REXX command lists the same port than mine or just the ARexx port. If yes, I could make a compare to see the ARexx ones.
I wanted the full list to add to my program SysMon. After that, I thought that it can be useful for testing purpose to have the ability to send ARexx messages to Port.
@steady Yes, you are true but when I send a fake message (ex.: arehdjsizieo) to an ARexx port, it doesn't make freezed my program. I have a return code <> 0, that's all.
This freeze occurs only when I send message to ports like AMIDOCK or "SFS handler".
Therefore, I think that these ports are not ARexx port (not sure about that) and it's for that that I wanted to know if it was possible to recognize them ;)
Thanks to you 2 for your help
|
|
|
|
How to know if a port is a ARexx port ?
|
Posted on: 2012/12/27 0:20
#1359
|
Just can't stay away
|
Hi, I'm playing with the Exec PortList to send some AREXX messages to open ports. But I wanted to know if I can be sure that the destination port will accept ARexx messages, For example, when I send ARexx message to WORKBENCH, YAM, SIMPLEMAIL.1 or OWB.1 port, it works great. But when I send ARexx message to SFS handler port or AMIDOCK port, for example,t it freezes my program just after the PutMsg function. Edit : I use the rexx.c of Thomas Rapp method to send messages http://thomas-rapp.homepage.t-online.de/examples/rexx.cAnd I have tried, too, the AmiWest ARexx tutorial sample "example 1 : sending ARexx messages" http://wiki.amigaos.net/index.php/AmiWest_Lesson_8But same results. PS : nothing to do with ARexx, but I have noticed that in the ProcTree sample of AmiWest tutorial, there is a function DOS/GetPID, I didn't found it on the SDK... Is my standard SDK incomplete ? Thank , by advance, for your help
|
|
|
|
Re: SimpleMail AREXX script
|
Posted on: 2012/12/26 23:42
#1360
|
Just can't stay away
|
Yes ChrisH, you are right, I tried MAILWRITE ATTACHMENT RAM:T/USB.LOG RAM:T/USB.LOG but it failed
it works well like this
MAILWRITE ATTACHMENT RAM:T/USB.LOG ATTACHMENT RAM:T/USB.LOG
Great !!!
|
|
|
|