andlabs / andlabs/libui

How to create a scrollbar

Đang mở
#441 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
10.9k
Fork
612
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I was working on a simple application and I would really need to have a scrollbar to move around inside big file and display some file-based content on and uiArea.

The uiScollingArea is not an option because it required to draw the whole image and it will be too inefficient, I really need a scrollbar.

I understood that currently there are no scrollbars in libui but they exists in GTK+ with some simple APIs. As for windows I don't know exactly but I guess they should exists.

As a last resort I may implement scrollbars in libui by myself but I would like to have some advice.
Any specific reason they are not already in libui ?
Some idea about how to implement them in Windows ?

If other people are interested too I would like to collaborate to make a good implementation.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.