[CinCV TNG] [PATCH] New option of BC_PopupMenu: use supplied coordinates

Einar Rünkaru einarrunkaru at gmail.com
Sun Aug 27 17:19:17 CEST 2017



On 08/26/2017 11:42 AM, Johannes Sixt wrote:
> Am 24.08.2017 um 23:10 schrieb Einar Rünkaru:
>> Hi.
>>
>> Converted use_title to bits of options
>> New option POPUPMENU_USE_COORDS ensures that popup will appear
>> at supplied coordinates.
> 
> OK.
> 
>> +// Option bits
>> +#define POPUPMENU_USE_TITLE  1
>> +#define POPUPMENU_USE_COORDS 2
> 
> Can we please have modern C++?
> 
> const int POPUPMENU_USE_TITLE = 1;
> const int POPUPMENU_USE_COORDS = 2;
> 

'Modern' is marketing termin which always includes some amount cheating. 
I do not see any benefits of using this "modern" approach.

Einar


More information about the Cinelerra mailing list