View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000636 | Cinelerra-GG | [All Projects] Feature | public | 2023-02-26 15:54 | 2023-06-06 17:37 |
Reporter | PhyllisSmith | Assigned To | PhyllisSmith | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000636: Make size or type of node points configurable | ||||
Description | The auto node point is sometimes hard to see. You can already change the color, but it would be nice to at least have a choice to make it one size bigger. | ||||
Tags | No tags attached. | ||||
I guess we can at least put some comment in code saying "if you want bigger node point try to multiply HANDLE_W/HANDLE_H" (otherwise we forgot how to do it!) | |
@Andrew-R This solution worked very well. AVLinux does not do builds though so now that I know where to look, maybe I can come up with something for his use. |
|
So, I looked into code.... cinelerra-5.1/cinelerra/trackcanvas.C function void TrackCanvas::draw_auto(Auto *current, int x, int y, int center_pixel, int data_h) { int x1, y1, x2, y2; x1 = x - HANDLE_W / 2; x2 = x + HANDLE_W / 2; y1 = center_pixel + y - HANDLE_W / 2; y2 = center_pixel + y + HANDLE_W / 2; if( y1 < center_pixel - data_h/2 ) y1 = center_pixel - data_h/2; if( y2 > center_pixel + data_h/2 ) y2 = center_pixel + data_h/2; draw_box(x1, y1, x2 - x1, y2 - y1); } HANDLE_W defined in trackcanvas.inc as #define HANDLE_W xS(8) #define HANDLE_H yS(8) so I guess it already scale-able with gui scale setting, just not independently? Anyway, you can try to * (multiply) this specific use oh HANDLE_W (*2 for example) in this specific function and see if it works as intended? May be other mouseclicking functions in same file will need same enlargement, too |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 15:54 | PhyllisSmith | New Issue | |
2023-02-27 21:29 | Andrew-R | Note Added: 0005462 | |
2023-02-28 01:20 | PhyllisSmith | Assigned To | => PhyllisSmith |
2023-02-28 01:20 | PhyllisSmith | Status | new => acknowledged |
2023-02-28 01:20 | PhyllisSmith | Note Added: 0005463 | |
2023-06-06 17:37 | Andrew-R | Note Added: 0005497 |