Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Don't annoy me again!

<< < (3/4) > >>

MortenMacFly:

--- Quote from: thomas on May 10, 2013, 11:50:11 pm ---Of course a good alternative would be to remove half of the annoying dialogs altogether :)

--- End quote ---
...stated by the one providing this dialog initially... ;D ;D ;D

thomas:

--- Quote from: MortenMacFly on May 11, 2013, 10:07:28 am ---
--- Quote from: thomas on May 10, 2013, 11:50:11 pm ---Of course a good alternative would be to remove half of the annoying dialogs altogether :)

--- End quote ---
...stated by the one providing this dialog initially... ;D ;D ;D

--- End quote ---
Life isn't fair, alas. I wrote that class to provide a means to hide the many useless dialog boxes that Code::Blocks was full with after seeing them once (the yellow notification windows were made for a similar reason). However, despite the class being named "Annoying" to give anyone using it a discrete hint, this only led to more useless dialog boxes being built in. As in, if someone finds them annoying, they can turn them off...

It is my belief that users are not completely stupid, and more noise is not necessarily better (especially if it's modal dialogs). If you search for something and nothing happens except "bing", it's not necessary to bring up a dialog that says "nothing found, please click OK". If you click the rebuild button, nobody needs to tell you that this will take a long time, you already know (and if you don't know yet, your project probably consists of a single source file, so the statement is not true). If you use several compilers, you should already know enough about the matter so you need not be told "it's a good idea to do a clean rebuild now" when switching.

MortenMacFly:

--- Quote from: Alpha on May 09, 2013, 11:04:55 pm ---(Patch not yet functional, as I have not fixed any uses of AnnoyingDialog; I will probably get to that tomorrow.)

--- End quote ---
I fixed the use of this all-together so that it compiled. However, unfortunately the annoyingdialog is completely screwed afterwards. Any news on that front? Otherwise I would revert the changes in my local copy.

Alpha:
I also changed the return type to use the new enumerated values, so a straight compile fix will not work.  I can change it so it returns the wxId's, but that, in my opinion, is less clean.  Most of the necessary changes (for app and core plugins) are done on my computer at home.  I will upload them later today.

Alpha:
Attached is the conversion of the core (app & plugins).  This is a direct conversion (rtSAVE_CHOICE is not used yet), so all dialogs *should* still act the same.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version