deltaphc / raylib-rs

Rust bindings for raylib
Other
775 stars 136 forks source link

raygui support #7

Closed buckle2000 closed 5 years ago

buckle2000 commented 5 years ago

Hi @deltaphc , have you considered supporting raygui?

I have created bindings of most functions

These are left unimplemented.

// TODO please write those for me
// GuiTextBox|bounds: Rectangle, text: *mut ::std::os::raw::c_char, textSize: i32, editMode: bool|bool
// GuiTextBoxMulti|bounds: Rectangle, text: *mut ::std::os::raw::c_char, textSize: i32, editMode: bool|bool
// GuiListViewEx|bounds: Rectangle, text: *mut *mut ::std::os::raw::c_char, count: i32, enabled: *mut i32, active: *mut i32, focus: *mut i32, scrollIndex: *mut i32, editMode: bool|bool
// GuiLoadStyleProps|props: *const i32, count: i32|
deltaphc commented 5 years ago

Supporting more of the "raylib ecosystem" certainly seems worth doing. Extra things like these would probably be behind Cargo feature flags since not everyone would need raygui.

That said, I think I'll look at this more closely after 0.10.0 of raylib-rs is published. I'm thinking it'll be lumped in with other major changes for 0.11.0 (tentatively).

Dacode45 commented 5 years ago

Raygui is now in on master. See the rgui sample.

benstigsen commented 5 years ago

Is Raygui going to be updated to the latest 2.6 version?